Fix tentativo di problemi di permessi su Rocky Linux - 2
This commit is contained in:
parent
0ef24da607
commit
d312ffb24b
@ -22,6 +22,12 @@
|
|||||||
mode: '0755'
|
mode: '0755'
|
||||||
become_user: "{{ additional_user }}"
|
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
|
- name: Linking main file
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
src: "{{ dotfdir }}/zshrc"
|
src: "{{ dotfdir }}/zshrc"
|
||||||
|
Loading…
Reference in New Issue
Block a user