Debug and fix networkd role to work with cent8

This commit is contained in:
2019-11-23 19:18:40 -05:00
parent 8f839a4944
commit b3f9e8fc80
4 changed files with 31 additions and 9 deletions

View File

@@ -26,8 +26,8 @@
become: true
template:
src: netdev.j2
dest: "/etc/systemd/network/{{ item.key }}.netdev"
loop: "{{ networking | dict2items }}"
dest: "/etc/systemd/network/{{ item.0.key + '.' + item.1 }}.netdev"
loop: "{{ networking | dict2items | subelements('value.vlans', true) }}"
- import_tasks: services.yml