Remove VMWare static since not applicable

This commit is contained in:
Sandwich 2024-10-30 23:18:27 +01:00
parent 4808ce4401
commit 2a1a47ecc1

View File

@ -35,10 +35,8 @@
iso_path: "{{ rhel_iso | default(omit) }}" iso_path: "{{ rhel_iso | default(omit) }}"
networks: networks:
- name: "{{ vm_nif }}" - name: "{{ vm_nif }}"
type: dhcp
vlan: "{{ vlan_name | default(omit) }}" vlan: "{{ vlan_name | default(omit) }}"
type: static
ip: "{{ inventory_hostname }}"
netmask: "{{ vm_nm | default('255.255.255.0') }}"
register: vmware_guest_result register: vmware_guest_result
failed_when: failed_when:
- vmware_guest_result.failed is defined and vmware_guest_result.failed - vmware_guest_result.failed is defined and vmware_guest_result.failed