From d9a4fc2b72befc609f07c3b6fb59202f9242a1fd Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Mon, 6 Oct 2025 16:26:28 +0200 Subject: [PATCH] Remove symlink as deployment_user --- tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yaml b/tasks/main.yaml index 0dfecdc..df00b4e 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -35,6 +35,7 @@ register: deployment_path_info - name: Remove the old-style symlink if it exists + become_user: "{{ deployment_user }}" ansible.builtin.file: path: "{{ deployment_path }}" state: absent