2017-09-05 12:01:27 +02:00
|
|
|
---
|
|
|
|
- name: create routing tables
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/iproute2/rt_tables
|
|
|
|
regexp: '^{{ item.value }}'
|
|
|
|
line: "{{ item.value }}{{ '\t' }}{{ item.key }}"
|
|
|
|
state: present
|
2018-09-16 12:38:33 +02:00
|
|
|
loop: "{{ routing_tables | dict2items }}"
|