aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-20 19:20:55 +0100
committerbinary <me@rgoncalves.se>2020-11-20 19:20:55 +0100
commitc110f9a103c2f676917e3fe5e33f4eaedfed070c (patch)
tree072f1b019ae7d0c39a0cbd9d88257688203edddc /playbooks
parentb739e2af7060cd10f65d97cd0bfc0e9adb7a5490 (diff)
downloadinfrastructure-c110f9a103c2f676917e3fe5e33f4eaedfed070c.tar.gz
Refactor wireguard role with new host declaration.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/network.yml8
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:
remember that computers suck.