From 0ef24da6074a6070ed6e052dc0ccee10ddccf57d Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Mon, 23 Dec 2024 23:36:38 +0100 Subject: [PATCH] Fix tentativo di problemi di permessi su Rocky Linux. --- roles/zsh/tasks/config/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/zsh/tasks/config/main.yml b/roles/zsh/tasks/config/main.yml index 68d3759..279fddf 100644 --- a/roles/zsh/tasks/config/main.yml +++ b/roles/zsh/tasks/config/main.yml @@ -21,12 +21,13 @@ state: directory mode: '0755' become_user: "{{ additional_user }}" - + - name: Linking main file ansible.builtin.file: src: "{{ dotfdir }}/zshrc" dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.zshrc" state: link + force: true become_user: "{{ additional_user }}" - name: Applying results to {{ ansible_user_id }}