Fix tentativo di problemi di permessi su Rocky Linux - 2
This commit is contained in:
parent
0ef24da607
commit
d312ffb24b
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue