Files
playbooks/menu-admin/roles/network/tasks/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

9 lines
202 B
YAML

---
- name: "Ensure {{ docker_network }} exists and Caddy is on it"
docker_network:
name: "{{ docker_network }}"
state: present
connected:
- "{{ caddy_container }}"
appends: yes