From 177781cc4452b57d1ca305cbe638f2ff253711e6 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Wed, 25 Sep 2019 13:57:06 +0000 Subject: [PATCH] Moved wireguard play into special playbook Added import in main playbook --- playbooks/wireguard.yml | 7 +++++++ site.yml | 7 ++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 playbooks/wireguard.yml diff --git a/playbooks/wireguard.yml b/playbooks/wireguard.yml new file mode 100644 index 0000000..0caa046 --- /dev/null +++ b/playbooks/wireguard.yml @@ -0,0 +1,7 @@ +--- + +- name: Install wireguard vpn + hosts: all + strategy: free + roles: + - role: wireguard/application diff --git a/site.yml b/site.yml index f41a7dc..a04a6b0 100644 --- a/site.yml +++ b/site.yml @@ -47,11 +47,8 @@ authorized_keys: "{{ zocker_authorized_keys_url }}" sudo: yes -- name: Install wireguard vpn - hosts: all - strategy: free - roles: - - role: wireguard/application +- name: Configure wireguard network + import_playbook: playbooks/wireguard.yml - name: Configure nvak tags: