7 lines
279 B
YAML
7 lines
279 B
YAML
---
|
|
- name: Reload caddy
|
|
ansible.builtin.command:
|
|
cmd: docker compose exec app sh -c "caddy validate --config /etc/caddy/Caddyfile && caddy reload --config /etc/caddy/Caddyfile"
|
|
chdir: "{{ caddy_path }}"
|
|
when: "'local-dev' != inventory_hostname"
|
|
changed_when: true
|