change variable layout
This commit is contained in:
parent
35414f0fed
commit
f79e647b61
@ -1,4 +1,7 @@
|
||||
---
|
||||
def_network:
|
||||
disable_ipv6: false
|
||||
network: {}
|
||||
network_hostname: ''
|
||||
network_fqdn: ''
|
||||
network_defaultif: ''
|
||||
network_disable_ipv6: false
|
||||
|
||||
network_interfaces: {}
|
||||
|
@ -28,8 +28,7 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
with_dict: '{{ network.config }}'
|
||||
with_dict: '{{ network_interfaces }}'
|
||||
when: item.key in ansible_interfaces
|
||||
notify:
|
||||
- network_restart
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user