Avoid rewrite permissions
This commit is contained in:
parent
d7c83a4d55
commit
dc3406b197
1 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue