summaryrefslogtreecommitdiff
path: root/roles/configure_static_routes
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2021-12-12 15:15:03 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2021-12-12 15:15:03 +0100
commitb53a8cf2283b2d6debb94cd399a72d25da0d7c82 (patch)
treee91b4b549150219b82e5a3995f0f3515154e2a7e /roles/configure_static_routes
parente75acd9a72df39269496abb7207decfc210efaa6 (diff)
merge fastd and uplink nodes
Diffstat (limited to 'roles/configure_static_routes')
-rw-r--r--roles/configure_static_routes/tasks/fastd_tasks.yml14
-rw-r--r--roles/configure_static_routes/tasks/main.yml15
2 files changed, 13 insertions, 16 deletions
diff --git a/roles/configure_static_routes/tasks/fastd_tasks.yml b/roles/configure_static_routes/tasks/fastd_tasks.yml
deleted file mode 100644
index 4cd1583..0000000
--- a/roles/configure_static_routes/tasks/fastd_tasks.yml
+++ /dev/null
@@ -1,14 +0,0 @@
----
-- 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 }}"
diff --git a/roles/configure_static_routes/tasks/main.yml b/roles/configure_static_routes/tasks/main.yml
index c98825f..e89d845 100644
--- a/roles/configure_static_routes/tasks/main.yml
+++ b/roles/configure_static_routes/tasks/main.yml
@@ -10,8 +10,19 @@
dest: /usr/local/bin/ffmyk-iproute.sh
mode: 0744
-- include_tasks: fastd_tasks.yml
- when: "'fastd' in group_names"
+- 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 }}"
- name: copy ffmyk iproute systemd service
copy: