aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-03-15 20:18:41 +0100
committerbinary <me@rgoncalves.se>2021-03-15 20:18:41 +0100
commit6cadb866ef610c267a0b9a8b0782e4242502960c (patch)
treee7dfc40b7516b4d6bc552374d62810e65b9a0fbc /playbooks
parentaa5e150cf2ffbd7c76cf94531ee42888cd9fe018 (diff)
downloadinfrastructure-6cadb866ef610c267a0b9a8b0782e4242502960c.tar.gz
Break down wireguard task in sub-tasks for network.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/network.yml6
-rw-r--r--playbooks/network/wireguard.yml10
2 files changed, 12 insertions, 4 deletions
diff --git a/playbooks/network.yml b/playbooks/network.yml
index 14911a6..79d20ec 100644
--- a/playbooks/network.yml
+++ b/playbooks/network.yml
@@ -10,10 +10,8 @@
- name: import nfs network playbook
import_playbook: network/nfs.yml
-- hosts: all
- gather_facts: no
- roles:
- - { role: wireguard }
+- name: import wireguard network playbook
+ import_playbook: network/wireguard.yml
- hosts: servers
roles:
diff --git a/playbooks/network/wireguard.yml b/playbooks/network/wireguard.yml
new file mode 100644
index 0000000..4ea75d6
--- /dev/null
+++ b/playbooks/network/wireguard.yml
@@ -0,0 +1,10 @@
+
+# network ~~ playbooks/network/wireguard.yml
+# global wireguard configuration
+
+---
+
+- hosts: all
+ roles:
+ - { role: wireguard }
+
remember that computers suck.