You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
501 B
23 lines
501 B
- 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 config directory exist
|
|
copy:
|
|
src: ssl
|
|
dest: /compose/volumes/nginx/ssl
|
|
mode: 'preserve'
|
|
group: root
|
|
owner: root
|
|
|
|
- name: Ensure config files are updated
|
|
template:
|
|
src: "nginx.conf"
|
|
dest: /compose/volumes/nginx/nginx.conf
|