blob: 69cf59fe437cd6653e6608db9777f8f060fed240 (
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
30
31
32
33
|
# network ~~ playbooks/network.yml
# common network configuration
---
- hosts: localhost
gather_facts: no
roles:
- { role: ssh_dns }
- hosts: all
gather_facts: no
roles:
- { role: wireguard }
- hosts: servers
roles:
- role: rc
vars:
rc_cmd: "{{ path_wgquick }}"
rc_args: "up {{ global.dcontroller }}"
rc_name: wireguard
rc_user: "{{ user_root }}"
ignore_errors: true
- { role: dns }
- { role: sshd }
- hosts: dcontroller
roles:
- { role: pf }
|