Fix tentativo di problemi di permessi su Rocky Linux - 2

This commit is contained in:
Emiliano Vavassori 2024-12-23 23:46:06 +01:00
parent 0ef24da607
commit d312ffb24b

View File

@ -22,6 +22,12 @@
mode: '0755'
become_user: "{{ additional_user }}"
- name: Removing previous file if present
ansible.builtin.file:
path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.zshrc"
state: absent
become_user: "{{ additional_user }}"
- name: Linking main file
ansible.builtin.file:
src: "{{ dotfdir }}/zshrc"