Fix tentativo di problemi di permessi su Rocky Linux.

This commit is contained in:
Emiliano Vavassori 2024-12-23 23:36:38 +01:00
parent 178b25a05d
commit 0ef24da607

View File

@ -21,12 +21,13 @@
state: directory state: directory
mode: '0755' mode: '0755'
become_user: "{{ additional_user }}" become_user: "{{ additional_user }}"
- name: Linking main file - name: Linking main file
ansible.builtin.file: ansible.builtin.file:
src: "{{ dotfdir }}/zshrc" src: "{{ dotfdir }}/zshrc"
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.zshrc" dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.zshrc"
state: link state: link
force: true
become_user: "{{ additional_user }}" become_user: "{{ additional_user }}"
- name: Applying results to {{ ansible_user_id }} - name: Applying results to {{ ansible_user_id }}