-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disk.controller_number and disk.unit_number set to 0 results in validation error because 0 == false in v1.8 #703
Comments
Files identified in the description: If these files are inaccurate, please update the |
Files identified in the description:
If these files are inaccurate, please update the |
Hi community.vmware/plugins/modules/vmware_guest.py Line 2480 in f913056
should be changed to
Because it errors if the number is 0 |
@MalfuncEddie You're right, the problem is that Can you please have a look at PR #705? I hope it will fix this. |
@mariolenz #705 looks good to me, |
SUMMARY
Since v1.8 My playbook stopped working with the error
disk.controller_type', 'disk.controller_number' and 'disk.unit_number' are mandatory parameters when configure multiple disk controllers and disks.
Checking my playbook it does have all the parameters
reverting to version 1.7 did fix the issue. I think this might be due to #640 but can"t pinpoint the issue
ISSUE TYPE
COMPONENT NAME
community.vmware/plugins/modules/vmware_guest.py
ANSIBLE VERSION
CONFIGURATION
empty
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
output (some info censored)
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: