From dc3406b197ee9cde046a02cf15fe8802f687c85d Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 9 Jun 2023 14:06:12 +0200 Subject: [PATCH] Avoid rewrite permissions --- roles/vaultwarden/tasks/base.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/vaultwarden/tasks/base.yml b/roles/vaultwarden/tasks/base.yml index 14b099e..d7c4ed8 100644 --- a/roles/vaultwarden/tasks/base.yml +++ b/roles/vaultwarden/tasks/base.yml @@ -4,6 +4,7 @@ ansible.builtin.file: path: vaultwarden state: directory + register: first_install - name: Copy template conf ansible.builtin.template: @@ -28,9 +29,6 @@ ansible.builtin.file: path: "{{ item }}" state: directory - owner: root - group: root - mode: 0700 loop: - "{{ server.work_dir }}/vaultwarden" - "{{ server.work_dir }}/vaultwarden/base"