blob: 320fd31af58f41b7973c8bacc982ed053b31a130 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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
|