blob: 320fd31af58f41b7973c8bacc982ed053b31a130 (
plain) (
tree)
|
|
# site.yml
# Deploy configuration to all servers.
---
- hosts: servers
gather_facts: no
roles:
- wireguard
- hosts: alpine
vars:
rc_name: "wireguard"
rc_cmd: "/usr/bin/wg-quick"
rc_args: "up {{ _i.dcontroller }}"
rc_user: "root"
roles:
- rc
ignore_errors: true
- hosts: openbsd
vars:
rc_name: "wireguard"
rc_cmd: "/usr/local/bin/wg-quick"
rc_args: "up {{ _i.dcontroller }}"
rc_user: "root"
roles:
- rc
|