buildhw: try setting persistent_state: present

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-05-04 09:26:50 -07:00
parent e6e066d3d7
commit 44adfa7b09

View file

@ -15,6 +15,7 @@ mac1: 14:9e:cf:61:9f:52
network_connections: network_connections:
- name: eth0 - name: eth0
persistent_state: present
mac: "{{ mac0 }}" mac: "{{ mac0 }}"
state: up state: up
type: ethernet type: ethernet
@ -31,6 +32,7 @@ network_connections:
dhcp4: no dhcp4: no
auto6: no auto6: no
- name: eth1 - name: eth1
persistent_state: present
mac: "{{ mac1 }}" mac: "{{ mac1 }}"
state: down state: down
type: ethernet type: ethernet