From c110f9a103c2f676917e3fe5e33f4eaedfed070c Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 20 Nov 2020 19:20:55 +0100 Subject: Refactor wireguard role with new host declaration. --- playbooks/network.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'playbooks') 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: -- cgit v1.2.3