mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-01 02:34:03 +00:00
22 lines
497 B
YAML
22 lines
497 B
YAML
- name: Ensure Volumes & Files directories exists
|
|
file:
|
|
dest: "{{item}}"
|
|
state: directory
|
|
loop:
|
|
- /compose
|
|
- /compose/volumes
|
|
- /compose/volumes/nginx
|
|
- /compose/volumes/nginx/log/{{ kuma_domain }}
|
|
|
|
- name: Ensure nginx SSL certificates exist
|
|
copy:
|
|
src: ssl
|
|
dest: /compose/volumes/nginx
|
|
mode: 'preserve'
|
|
group: root
|
|
owner: root
|
|
|
|
- name: Ensure config files are updated
|
|
template:
|
|
src: "nginx.conf"
|
|
dest: /compose/volumes/nginx/nginx.conf
|