--- # handlers file for server - name: Restart sshd become: yes service: name: ssh state: restarted - name: Enable caddy become: yes service: name: caddy enabled: yes - name: Restart caddy become: yes service: name: caddy state: restarted - name: Enable and restart caddy become: yes service: name: caddy state: restarted enabled: yes