From 03f68e65b312a66682ad9089d986613c84b3955b Mon Sep 17 00:00:00 2001 From: ace Date: Wed, 27 Oct 2021 17:24:05 +0300 Subject: [PATCH] fix el7 --- tasks/RedHat/7.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tasks/RedHat/7.yaml b/tasks/RedHat/7.yaml index d05ddb6..ee89682 100644 --- a/tasks/RedHat/7.yaml +++ b/tasks/RedHat/7.yaml @@ -1,6 +1,13 @@ --- - block: - - include_tasks: network_scripts.yaml + - name: Create routing table in rt_tables + template: + src: rt_tables.j2 + dest: /etc/iproute2/rt_tables + + - name: Configure interfaces and routes with network-scripts + include: network_scripts.yaml iface={{ item }} + loop: "{{ network.network_scripts.iface }}" when: network.network_scripts is defined