-
Notifications
You must be signed in to change notification settings - Fork 339
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
vmware_vm_config_option: add more properties in output when getting VM configurations #1202
vmware_vm_config_option: add more properties in output when getting VM configurations #1202
Conversation
@Tomorrow9 I'm not sure if we can change the result from for example I can see why you want to change this, but I think we should wait until the next major release. However, I think it wouldn't hurt to return the result in both the old and the new format. In version 3, we can then remove the old format. This would allow existing playbooks to work the old way, while you can already use the new keys. I don't think we need to introduce an old format style for the stuff that you've added, though. That is, we don't need |
Yeah, you're right, in our experience using this module, it seems more convenient and following the convention using
Do you think the result containing both formats is good? Then I can change it back and as you said change it to "xx_xx_xx" format in version 3.
In our playbooks, supported disks controllers or ethernet types for one gosID are required, so I added these in the returned results. Thanks for reviewing this. |
Well, it wouldn't break existing playbooks if you keep the old format. And having both shouldn't break anything, either. Could you please share your opinion on this @sky-joker? I'd like to hear what you think about this. |
@Tomorrow9 Are you still working on this? |
Yeah, if anybody else does not have other comments, then I'll change the existing output back in the old format, and add new output items in new format. Thanks. |
Signed-off-by: dianew <[email protected]>
Signed-off-by: dianew <[email protected]>
Signed-off-by: dianew <[email protected]>
7bc24a5
to
ee9cdbf
Compare
Signed-off-by: dianew <[email protected]>
@mariolenz do you have any other comments on this change? Thanks. |
Yes, one: The two CI jobs ansible-test-units-community-vmware-python37 and ansible-test-units-community-vmware-python38 fail with I'll have another look at this when the CI is running again. |
recheck |
Probably pytest-dev/pytest#9767. |
Co-authored-by: Mario Lenz <[email protected]>
recheck |
recheck |
recheck |
recheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
regate |
recheck |
recheck |
Build succeeded (gate pipeline).
|
@Tomorrow9 I've added #1268 to milestone 3.0.0 so we don't forget to change the result. |
Ok, thanks a lot. |
…ned with spaces to strings joined with underlines (#1457) vmware_vm_config_option: Change item names in result SUMMARY Change item names in result from strings joined with spaces to strings joined with underlines, e.g. Guest fullname will be changed to guest_fullname. Fixes #1268 ISSUE TYPE Feature Pull Request COMPONENT NAME vmware_vm_config_option ADDITIONAL INFORMATION #1202
Depends-On: ansible/ansible-zuul-jobs#1420
Signed-off-by: dianew [email protected]
SUMMARY
Add supported disk controller types, supported network adapter types, supported USB controller types in the recommended_config_options output.
ISSUE TYPE
COMPONENT NAME
vmware_vm_config_option
ADDITIONAL INFORMATION