DRS Override - add state argument#2342
DRS Override - add state argument#2342Rogacz wants to merge 7 commits intoansible-collections:mainfrom
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.
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.