mirror of
https://gitea.0xace.cc/ansible-galaxy/network.git
synced 2024-11-24 22:36:38 +00:00
fix el7
This commit is contained in:
parent
ccb0e81fbe
commit
03f68e65b3
@ -1,6 +1,13 @@
|
|||||||
---
|
---
|
||||||
- block:
|
- 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
|
when: network.network_scripts is defined
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user