-
Notifications
You must be signed in to change notification settings - Fork 348
DRS Override - add state argument #2342
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
base: main
Are you sure you want to change the base?
Conversation
|
Build failed.
|
|
Build failed. ❌ ansible-tox-linters FAILURE in 4m 51s |
|
Build succeeded. ✔️ ansible-tox-linters SUCCESS in 4m 55s |
ef27490 to
31e30eb
Compare
|
Build failed. ✔️ ansible-tox-linters SUCCESS in 5m 45s |
ihumster
left a comment
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.
I am a little embarrassed by the presence of absent without present - I would add for compatibility and logic present with the same logic as enabled
|
I can just rename |
|
Build succeeded. ✔️ ansible-tox-linters SUCCESS in 5m 40s |
|
I've noticed that tests were skipped |
|
Build failed. ✔️ ansible-tox-linters SUCCESS in 5m 39s |
|
It fails on something unrelated to this PR. |
|
recheck |
|
Build failed. ✔️ ansible-tox-linters SUCCESS in 5m 03s |
|
I'm sorry, but my priority ATM is to make the collection work with the upcoming ansible-core 2.19 release (#2388 and #2391). It turns out that this is harder than I originally expected. Please bear wit me 🙏 |
|
recheck |
|
Build failed. ✔️ ansible-tox-linters SUCCESS in 6m 19s |
Add absent option, Switch to find vm based on standard options, Actually support check_mode
separate state argument with new disabled option, improve description
|
Build succeeded. ✔️ ansible-tox-linters SUCCESS in 5m 20s |
e9ebce9 to
bfbb8a2
Compare
|
Build failed. ✔️ ansible-tox-linters SUCCESS in 6m 46s |
|
recheck |
|
Build succeeded. ✔️ ansible-tox-linters SUCCESS in 5m 06s |
SUMMARY
Added new state attribute with absent, disabled, enabled options to support missing functionality.
You can now remove existing DRS override or set DRS Override to disabled, which is different from manual.
Also added improvements:
ISSUE TYPE
COMPONENT NAME
vmware_drs_override
ADDITIONAL INFORMATION
At work, I need to create and remove DRS override for VMs, so here is an improved version of the module.