1
0
Fork 0

Avoid rewrite permissions

This commit is contained in:
Florian RICHER 2023-06-09 14:06:12 +02:00
parent d7c83a4d55
commit dc3406b197

View file

@ -4,6 +4,7 @@
ansible.builtin.file: ansible.builtin.file:
path: vaultwarden path: vaultwarden
state: directory state: directory
register: first_install
- name: Copy template conf - name: Copy template conf
ansible.builtin.template: ansible.builtin.template:
@ -28,9 +29,6 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ item }}" path: "{{ item }}"
state: directory state: directory
owner: root
group: root
mode: 0700
loop: loop:
- "{{ server.work_dir }}/vaultwarden" - "{{ server.work_dir }}/vaultwarden"
- "{{ server.work_dir }}/vaultwarden/base" - "{{ server.work_dir }}/vaultwarden/base"