mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-10 01:35:26 +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 }}"
|