Fix VMware Network if no VLAN specified
This commit is contained in:
parent
287036bcb4
commit
d331e07536
@ -34,7 +34,8 @@
|
|||||||
type: iso
|
type: iso
|
||||||
iso_path: "{{ boot_iso }}"
|
iso_path: "{{ boot_iso }}"
|
||||||
networks:
|
networks:
|
||||||
- vlan: "{{ vlan_name }}"
|
- name: "{{ vm_nif }}"
|
||||||
|
vlan: "{{ vlan_name | default(omit) }}"
|
||||||
type: static
|
type: static
|
||||||
ip: "{{ inventory_hostname }}"
|
ip: "{{ inventory_hostname }}"
|
||||||
netmask: "{{ vm_nm | default('255.255.255.0') }}"
|
netmask: "{{ vm_nm | default('255.255.255.0') }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user