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"