fix: fix missing filepermissions for pottwal
This commit is contained in:
parent
3e4964302b
commit
94faf739e3
1 changed files with 9 additions and 4 deletions
13
pottwal.yml
13
pottwal.yml
|
@ -202,11 +202,14 @@
|
|||
|
||||
- name: Ensure the hedgedoc directories exist
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
path: "{{ item.path }}"
|
||||
mode: "{{ item.mode }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/hedgedoc/data/database"
|
||||
- "{{ data_dir }}/hedgedoc/data/uploads"
|
||||
- path: "{{ data_dir }}/hedgedoc/data/database"
|
||||
mode: "0700"
|
||||
- path: "{{ data_dir }}/hedgedoc/data/uploads"
|
||||
mode: "0755"
|
||||
|
||||
- name: Setup docker network
|
||||
docker_network:
|
||||
|
@ -267,6 +270,7 @@
|
|||
- name: Ensure the influxdb directories exist
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
mode: "0700"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/influxdb"
|
||||
|
@ -362,9 +366,10 @@
|
|||
- name: Ensure the uptime-kuma directories exist
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
mode: "0755"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/uptimekuma"
|
||||
- "{{ data_dir }}/uptime-kuma"
|
||||
|
||||
- name: Ensure container for uptime-kuma is running
|
||||
docker_container:
|
||||
|
|
Loading…
Reference in a new issue