summaryrefslogtreecommitdiff
path: root/roles/install_wireguard_backbone/tasks/fastd_tasks.yml
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2018-01-26 00:16:27 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2018-01-26 00:16:27 +0100
commit8225aa0e7c76b10a4a4eec23b317545705b1bc7e (patch)
tree55d4ee81a67f294a72c709243e5286394e36cfaa /roles/install_wireguard_backbone/tasks/fastd_tasks.yml
parent03eb642632602a52c91f982796ee4756ada92aa8 (diff)
added uplink group
Diffstat (limited to 'roles/install_wireguard_backbone/tasks/fastd_tasks.yml')
-rw-r--r--roles/install_wireguard_backbone/tasks/fastd_tasks.yml12
1 files changed, 4 insertions, 8 deletions
diff --git a/roles/install_wireguard_backbone/tasks/fastd_tasks.yml b/roles/install_wireguard_backbone/tasks/fastd_tasks.yml
index 36a61d7..d1d9974 100644
--- a/roles/install_wireguard_backbone/tasks/fastd_tasks.yml
+++ b/roles/install_wireguard_backbone/tasks/fastd_tasks.yml
@@ -5,8 +5,7 @@
dest: /etc/wireguard/wgbb{{ hostvars[item]['wireguard_bb_name'] }}.conf
mode: 0400
with_items:
- - "{{ groups['mullvad_uplink'] }}"
- - "{{ groups['ffrl_uplink'] }}"
+ - "{{ groups['uplink'] }}"
- name: create wireguard up scripts for peers
template:
@@ -14,8 +13,7 @@
dest: /etc/wireguard/upbb{{ hostvars[item]['wireguard_bb_name'] }}.sh
mode: 0744
with_items:
- - "{{ groups['mullvad_uplink'] }}"
- - "{{ groups['ffrl_uplink'] }}"
+ - "{{ groups['uplink'] }}"
- name: create wireguard down scripts for peers
template:
@@ -23,8 +21,7 @@
dest: /etc/wireguard/downbb{{ hostvars[item]['wireguard_bb_name'] }}.sh
mode: 0744
with_items:
- - "{{ groups['mullvad_uplink'] }}"
- - "{{ groups['ffrl_uplink'] }}"
+ - "{{ groups['uplink'] }}"
- name: start and enable wireguard mesh
systemd:
@@ -33,5 +30,4 @@
state: started
daemon_reload: yes
with_items:
- - "{{ groups['mullvad_uplink'] }}"
- - "{{ groups['ffrl_uplink'] }}"
+ - "{{ groups['uplink'] }}"