This commit is contained in:
ace 2021-10-27 17:24:05 +03:00
parent ccb0e81fbe
commit 03f68e65b3
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0

View File

@ -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