Files
playbooks/menu-admin/roles/caddy/handlers/main.yaml
T
tanshu c87cd15c8c Add the menu-admin playbook
Deploys the menu app for one Site: pulls the tag, creates the data root, runs
the container against a config baked into the image, waits for health, verifies
the data directory, and points Caddy at the app with a marker it can update in
place. The parallel run uses a temporary hostname; cutover sets the retire
flags.
2026-09-22 21:27:13 +05:30

7 lines
246 B
YAML

---
- name: Reload Caddy
# Caddy validates before it applies, so a mistake here leaves the running
# config untouched and fails the play loudly.
command: "docker exec -w /etc/caddy {{ caddy_container }} caddy reload"
listen: Reload Caddy