linux-config/roles/environment/tasks/main.yml
Sagi Dayan 26e5b1ea42
Major update - move to symlinks for some dotfiles.
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-03-27 14:09:11 +02:00

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 }}"