# roles/docker/handlers/main.yml # Graceful: new config without dropping connections. If the new config # fails to load, Caddy keeps running the old one and the deploy fails. - name: reload caddy ansible.builtin.command: docker exec caddy-caddy-1 caddy reload --config /etc/caddy/Caddyfile --adapter caddyfile - name: restart crowdsec community.docker.docker_compose_v2: project_src: /opt/stacks/crowdsec files: - compose.yml state: restarted - name: restart obsidian-livesync community.docker.docker_compose_v2: project_src: /opt/stacks/obsidian-livesync files: - docker-compose.yml state: restarted