--- # Handlers for the Caddy role. # # A reload, not a restart: only the site blocks changed, and Caddy reloads its # config in place without dropping the other services' connections. Network # membership changes are a restart and are handled by the network role. - name: Reload Caddy configuration ansible.builtin.command: "podman exec -w /etc/caddy {{ caddy_container }} caddy reload" changed_when: true listen: "Reload Caddy"