summaryrefslogtreecommitdiff
path: root/roles/configure_static_routes/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/configure_static_routes/tasks/main.yml')
-rw-r--r--roles/configure_static_routes/tasks/main.yml15
1 files changed, 13 insertions, 2 deletions
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: