New implementation of network interfaces
Combine interfaces and network_ether_interfaces into one common variable network_interfaces. Provisioning uses format: network_interfaces: - device: device name eg. vio0 or eth0 vlan: vlan id for this interface mac: mac address for interface (optional) Additionally network role will use more settings to configure interface.
This commit is contained in:
parent
78c9a2eaf1
commit
c80eca3d85
11 changed files with 46 additions and 19 deletions
|
@ -7,7 +7,7 @@
|
|||
mode: 0600
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
with_items: "{{ network_ether_interfaces }}"
|
||||
with_items: "{{ network_interfaces }}"
|
||||
notify: restart network
|
||||
|
||||
- block:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue