diff options
-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 } + |