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