use the correct NetworkMask variable name

This commit is contained in:
Sandwich 2024-10-30 14:38:25 +01:00
parent ca5a3c8807
commit 287036bcb4

View File

@ -37,7 +37,7 @@
- vlan: "{{ vlan_name }}" - vlan: "{{ vlan_name }}"
type: static type: static
ip: "{{ inventory_hostname }}" ip: "{{ inventory_hostname }}"
netmask: "{{ vm_mask | default('255.255.255.0') }}" 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