mirror of https://github.com/ansible/ansible.git
vmware_guest: cast vlan to int or str when relevant (#39726)
`network['vlan']` should be a VLAN ID Integers passed around using jinja variable references are converted to strings (see # 9362) The # 32738 PR should allow using 'NativeType' in ansible Explicitly converting to integer will make the module works as expected with or without the NativeType support `network['vlan']` can also be a VLAN NAME (fallback) Explicitly converting to string will make the module works as expected with or without the NativeType supportpull/38587/head
parent
bc59dc471b
commit
a0b4462aea
Loading…
Reference in New Issue