fix: fix missing filepermissions for pottwal

This commit is contained in:
David Kilias 2022-10-26 21:49:57 +02:00
parent 3e4964302b
commit 94faf739e3

View file

@ -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: