Open satria0123 opened 1 year ago
Files identified in the description: None
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
@satria0123 Sorry, I can't reproduce this. Your playbook works in my environment.
What's the current state of the switch, are there any PVLANs already defined and you're trying to add or change them? I've only tested with a fresh switch that hadn't any PVLANs defined yet and, as said above, this worked for me.
SUMMARY
Cannot create PVLAN. Executing the playbook returns fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to update DVS : ('A specified parameter was not correct: spec.pvlanConfigSpec', None)"}
ISSUE TYPE
COMPONENT NAME
community.vmware.vmware_dvswitch_pvlans
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Macbook Air M1 macOS Monterey 12.3.1
STEPS TO REPRODUCE
Error occurs everytime running this pvlan-playbook.yaml below:
EXPECTED RESULTS
Create primary PVLAN 544 and secondary PVLAN 547 in VMWare
ACTUAL RESULTS