diff options
author | binary <me@rgoncalves.se> | 2021-03-15 20:18:41 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-03-15 20:18:41 +0100 |
commit | 6cadb866ef610c267a0b9a8b0782e4242502960c (patch) | |
tree | e7dfc40b7516b4d6bc552374d62810e65b9a0fbc | |
parent | aa5e150cf2ffbd7c76cf94531ee42888cd9fe018 (diff) | |
download | infrastructure-6cadb866ef610c267a0b9a8b0782e4242502960c.tar.gz |
Break down wireguard task in sub-tasks for network.
-rw-r--r-- | playbooks/network.yml | 6 | ||||
-rw-r--r-- | playbooks/network/wireguard.yml | 10 |
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 } + |