--- - name: Configure wireguard backbones hosts: wireguard_backbones strategy: linear tags: - wireguard - wireguard_backbones roles: - role: wireguard/backbone - name: Configure wireguard clients hosts: wireguard_clients strategy: linear tags: - wireguard - wireguard_clients roles: - role: wireguard/client - name: Reload all configurations hosts: - wireguard_backbones - wireguard_clients tags: - wireguard - wireguard_backbones - wireguard_clients roles: - name: misc/handlers tasks: - name: Reload systemd wireguard network always become: no command: /bin/true delegate_to: localhost notify: - restart systemd network