--- # Fires once at the end of the play, however many sites notified it. # Anything later in the same play that needs the new config live must be # preceded by `- ansible.builtin.meta: flush_handlers`. # become is explicit because handlers do not inherit it from the task that # notified them. headscale's play runs become: no and elevates per task, so # without this the reload would run unprivileged and fail. - name: Reload caddy become: true ansible.builtin.systemd: name: caddy state: reloaded