Fix idempotency.
This commit is contained in:
parent
a7ba712842
commit
d1386bf475
@ -4,7 +4,16 @@
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
recurse: yes
|
||||
become: true
|
||||
with_items:
|
||||
- "/mnt/volumes/onlyoffice_data"
|
||||
- "/mnt/volumes/onlyoffice_log"
|
||||
|
||||
- name: Create data directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
become: true
|
||||
with_items:
|
||||
- "/mnt/volumes/onlyoffice_data/data"
|
||||
|
@ -2,10 +2,9 @@
|
||||
# Everything in this volume comes from Git. No need to back it up.
|
||||
- name: Create /mnt/volumes/openvpn-server_conf directory
|
||||
ansible.builtin.file:
|
||||
path: "/mnt/volumes/openvpn-server_conf/keys"
|
||||
path: "/mnt/volumes/openvpn-server_conf"
|
||||
state: directory
|
||||
mode: '0750'
|
||||
recurse: yes
|
||||
become: true
|
||||
|
||||
- name: Remove temp directory
|
||||
|
Loading…
Reference in New Issue
Block a user