added handler to restart caddy on caddyfile change
This commit is contained in:
parent
6ef0d5f1d5
commit
8dae2bb825
@ -5,3 +5,10 @@
|
||||
files:
|
||||
- compose.yml
|
||||
state: restarted
|
||||
|
||||
- name: restart caddy
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /opt/stacks/caddy
|
||||
files:
|
||||
- compose.yml
|
||||
state: restarted
|
@ -11,6 +11,7 @@
|
||||
dest: /opt/stacks/caddy/Caddyfile
|
||||
owner: root
|
||||
mode: 644
|
||||
notify: restart caddy
|
||||
|
||||
- name: copy caddy compose file
|
||||
ansible.builtin.copy:
|
||||
|
Loading…
Reference in New Issue
Block a user