diff options
author | binary <me@rgoncalves.se> | 2020-11-20 19:20:55 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-20 19:20:55 +0100 |
commit | c110f9a103c2f676917e3fe5e33f4eaedfed070c (patch) | |
tree | 072f1b019ae7d0c39a0cbd9d88257688203edddc /playbooks | |
parent | b739e2af7060cd10f65d97cd0bfc0e9adb7a5490 (diff) | |
download | infrastructure-c110f9a103c2f676917e3fe5e33f4eaedfed070c.tar.gz |
Refactor wireguard role with new host declaration.
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/network.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/playbooks/network.yml b/playbooks/network.yml index b0c5448..1e8206b 100644 --- a/playbooks/network.yml +++ b/playbooks/network.yml @@ -5,13 +5,19 @@ --- - hosts: localhost + gather_facts: no roles: - { role: ssh_dns } +- hosts: all + gather_facts: no + roles: + - { role: wireguard } + - hosts: servers roles: + - { role: dns } - { role: sshd } - - { role: wireguard } - hosts: dcontroller roles: |