ansible-ffibk/roles/network-routetables/tasks/main.yml
2018-09-18 14:27:58 +02:00

8 lines
230 B
YAML

---
- name: create routing tables
lineinfile:
path: /etc/iproute2/rt_tables
regexp: '^{{ item.value }}'
line: "{{ item.value }}{{ '\t' }}{{ item.key }}"
state: present
loop: "{{ routing_tables | dict2items }}"