mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-14 11:45:25 +00:00
11 lines
273 B
YAML
11 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 }}"
|