aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/wireguard/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/wireguard/tasks/main.yml')
-rw-r--r--roles/wireguard/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml
index 64b0f76..5478c4f 100644
--- a/roles/wireguard/tasks/main.yml
+++ b/roles/wireguard/tasks/main.yml
@@ -1,3 +1,8 @@
+- name: Set up traffic routing
+ ansible.builtin.include_role:
+ name: router
+ when: wg_router
+
- name: Set up Wireguard
become: true
block: