diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2021-07-26 18:02:03 +0200 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2021-07-26 18:02:03 +0200 |
commit | f394fd81667a44e267e83d3c453101598a21c58c (patch) | |
tree | d7bbafdd26b9bebdb23e5546a2d0e97c9ffe360b /roles/configure_static_routes/tasks | |
parent | 0391e95103590bf6a5ff9c8d425420de2d44141b (diff) |
new group wg
Diffstat (limited to 'roles/configure_static_routes/tasks')
-rw-r--r-- | roles/configure_static_routes/tasks/main.yml | 3 | ||||
-rw-r--r-- | roles/configure_static_routes/tasks/wg_tasks.yml | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/roles/configure_static_routes/tasks/main.yml b/roles/configure_static_routes/tasks/main.yml index c98825f..b1d90b7 100644 --- a/roles/configure_static_routes/tasks/main.yml +++ b/roles/configure_static_routes/tasks/main.yml @@ -13,6 +13,9 @@ - include_tasks: fastd_tasks.yml when: "'fastd' in group_names" +- include_tasks: wg_tasks.yml + when: "'wg' in group_names" + - name: copy ffmyk iproute systemd service copy: src: ffmyk-iproute.service diff --git a/roles/configure_static_routes/tasks/wg_tasks.yml b/roles/configure_static_routes/tasks/wg_tasks.yml new file mode 100644 index 0000000..4cd1583 --- /dev/null +++ b/roles/configure_static_routes/tasks/wg_tasks.yml @@ -0,0 +1,14 @@ +--- +- name: copy site specific iproute up config script + template: + src: ffmyk-iproute-up.j2 + dest: /usr/local/bin/ffmyk-iproute{{ item.name }}-up.sh + mode: 0744 + with_items: "{{ sites }}" + +- name: copy site specific iproute down config script + template: + src: ffmyk-iproute-down.j2 + dest: /usr/local/bin/ffmyk-iproute{{ item.name }}-down.sh + mode: 0744 + with_items: "{{ sites }}" |