diff options
Diffstat (limited to 'roles/wireguard')
-rw-r--r-- | roles/wireguard/meta/main.yml | 3 | ||||
-rw-r--r-- | roles/wireguard/tasks/main.yml | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/roles/wireguard/meta/main.yml b/roles/wireguard/meta/main.yml new file mode 100644 index 0000000..4f84662 --- /dev/null +++ b/roles/wireguard/meta/main.yml @@ -0,0 +1,3 @@ +dependencies: + - role: router + when: wg_router diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml index 279ffd0..f6a09cb 100644 --- a/roles/wireguard/tasks/main.yml +++ b/roles/wireguard/tasks/main.yml @@ -1,8 +1,3 @@ -- name: Set up traffic routing - ansible.builtin.include_role: - name: router - when: wg_router - - name: Set up Wireguard become: true block: |