--- # handlers file for uvok_tinc # restart service - at least my Hetzner server gets serious problems with "restart" # it needs to stop, wait, and start again. - name: Stop Tinc listen: configure tinc service: name: "tinc@{{ tinc_netname }}" state: stopped - name: Wait listen: configure tinc ansible.builtin.pause: seconds: 3 - name: Start Tinc listen: configure tinc service: name: "tinc@{{ tinc_netname }}" state: started