diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-24 00:10:22 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-24 00:10:22 +0200 |
commit | bc6de44896b7d1d013f78fb23d8323a6877239ed (patch) | |
tree | e9f8e97fcef870d9b4ce657bacc4dac23a26bf83 /roles | |
parent | wireguard: wg_firewall -> wg_router (diff) | |
download | infra-ansible-bc6de44896b7d1d013f78fb23d8323a6877239ed.tar.gz infra-ansible-bc6de44896b7d1d013f78fb23d8323a6877239ed.zip |
wireguard: include the router automatically
Diffstat (limited to 'roles')
-rw-r--r-- | roles/wireguard/tasks/main.yml | 5 |
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: |