mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-14 03:35:26 +00:00
10 lines
273 B
YAML
10 lines
273 B
YAML
- name: customize /etc/environment
|
|
become: true
|
|
ansible.builtin.lineinfile:
|
|
dest: "/etc/environment"
|
|
state: present
|
|
regexp: "^{{ item.key }}="
|
|
line: "{{ item.key }}={{ item.value }}"
|
|
with_items:
|
|
- key: DEVICE_ROLE
|
|
value: "{{ env_device_role }}"
|