aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-12 14:30:44 +0100
committerbinary <me@rgoncalves.se>2020-11-12 14:30:44 +0100
commite96171654a430e89f7dd515746ad2dda7ae6190a (patch)
tree3390b62dc94f8c02b11803e14d41e2993da86195 /playbooks
parentbd50f2355502263970419213c1b33bcca8cc48de (diff)
downloadinfrastructure-e96171654a430e89f7dd515746ad2dda7ae6190a.tar.gz
Add wireguard playbook
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/network.yml5
-rw-r--r--playbooks/wireguard.yml11
2 files changed, 15 insertions, 1 deletions
diff --git a/playbooks/network.yml b/playbooks/network.yml
index c3bb76f..98a66ae 100644
--- a/playbooks/network.yml
+++ b/playbooks/network.yml
@@ -10,7 +10,10 @@
name: ssh
tasks_from: generate_dns.yml
-- hosts: openbsd
+- hosts: all
roles:
- ssh
+
+- hosts: dcontroller
+ roles:
- pf
diff --git a/playbooks/wireguard.yml b/playbooks/wireguard.yml
new file mode 100644
index 0000000..d995b5c
--- /dev/null
+++ b/playbooks/wireguard.yml
@@ -0,0 +1,11 @@
+
+# site.yml
+# Deploy configuration to all servers.
+
+---
+
+- hosts: all
+ gather_facts: no
+ roles:
+ - wireguard
+
remember that computers suck.