You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/playbooks/wireguard.yml

27 lines
558 B
YAML

---
- name: Configure wireguard backbones
hosts: wireguard_backbones
strategy: linear
roles:
- role: wireguard/backbone
- name: Configure wireguard clients
hosts: wireguard_clients
strategy: linear
roles:
- role: wireguard/client
- name: Reload all configurations
hosts:
- wireguard_backbones
- wireguard_clients
roles:
- role: wireguard/handlers
tasks:
- name: Reload wireguard configuration always
become: no
command: /bin/true
delegate_to: localhost
notify: reassemble wireguard config