Add network mask variables for Hypervisor static IP assigments

This commit is contained in:
sandwich committed 2024-10-30 14:33:38 +01:00
1 parent c8dd89681b
commit ca5a3c8807
3 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -35,7 +35,9 @@
iso_path: "{{ boot_iso }}"
networks:
- vlan: "{{ vlan_name }}"
type: dhcp
type: static
ip: "{{ inventory_hostname }}"
netmask: "{{ vm_mask | default('255.255.255.0') }}"
register: vmware_guest_result
failed_when:
- vmware_guest_result.failed is defined and vmware_guest_result.failed