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
|
- name: Ensure the hedgedoc directories exist
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item.path }}"
|
||||||
|
mode: "{{ item.mode }}"
|
||||||
state: directory
|
state: directory
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ data_dir }}/hedgedoc/data/database"
|
- path: "{{ data_dir }}/hedgedoc/data/database"
|
||||||
- "{{ data_dir }}/hedgedoc/data/uploads"
|
mode: "0700"
|
||||||
|
- path: "{{ data_dir }}/hedgedoc/data/uploads"
|
||||||
|
mode: "0755"
|
||||||
|
|
||||||
- name: Setup docker network
|
- name: Setup docker network
|
||||||
docker_network:
|
docker_network:
|
||||||
|
@ -267,6 +270,7 @@
|
||||||
- name: Ensure the influxdb directories exist
|
- name: Ensure the influxdb directories exist
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
mode: "0700"
|
||||||
state: directory
|
state: directory
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ data_dir }}/influxdb"
|
- "{{ data_dir }}/influxdb"
|
||||||
|
@ -362,9 +366,10 @@
|
||||||
- name: Ensure the uptime-kuma directories exist
|
- name: Ensure the uptime-kuma directories exist
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
mode: "0755"
|
||||||
state: directory
|
state: directory
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ data_dir }}/uptimekuma"
|
- "{{ data_dir }}/uptime-kuma"
|
||||||
|
|
||||||
- name: Ensure container for uptime-kuma is running
|
- name: Ensure container for uptime-kuma is running
|
||||||
docker_container:
|
docker_container:
|
||||||
|
|
Loading…
Reference in a new issue