-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Refactor all Proxmox modules to use shared module_utils
.
#4029
Refactor all Proxmox modules to use shared module_utils
.
#4029
Conversation
be1ec7a
to
86ec1b4
Compare
d68190c
to
3af0e9c
Compare
This comment has been minimized.
This comment has been minimized.
c3cc543
to
855e1bc
Compare
This comment has been minimized.
This comment has been minimized.
855e1bc
to
a0929fa
Compare
a7b47dc
to
722f34e
Compare
8aa98d9
to
d37dbbd
Compare
This comment has been minimized.
This comment has been minimized.
d37dbbd
to
872f6ef
Compare
Ok, so what's the current state of this? @m-rtijn @reitermarkus do you need to discuss more? |
The code looks OK now, but I have not yet had the time to test it out. |
872f6ef
to
4f9643c
Compare
@m-rtijn any update? There will be a release on Tuesday morning, would be nice if this could be included. |
Sorry, life got in the way. I'm currently not in the position to test it on an actual proxmox machine, but if everyone else thinks it's OK it's fine for me too. |
@Ajpantuso @Kogelvis @Thulium-Drake @UnderGreen @helldorado @joshainglis @karmab @paginabianca @tleguern what do you think? |
Looks good to me, also works fine for the modules I have tested (not a lot, I only invested a lot of time in creating playbooks to make snapshots :-) and I have a test play for creating and deleting an LXC container) |
@Thulium-Drake thanks for your feedback! I guess I'll wait until beginning of next week (probably like Monday morning in my timezone), and if nobody complains by then, I'll merge. |
Backport to stable-4: 💚 backport PR created✅ Backport PR branch: Backported as #4164 🤖 @patchback |
* Refactor Proxmox modules to use `module_utils`. * Fix tests. * Rename `node_check`. * Add `ignore_missing` to `get_vm`. * Refactor `proxmox` module. * Add changelog entry. * Add `choose_first_if_multiple` parameter for deprecation. (cherry picked from commit a61bdba)
@reitermarkus thanks for working on this! |
…4164) * Refactor Proxmox modules to use `module_utils`. * Fix tests. * Rename `node_check`. * Add `ignore_missing` to `get_vm`. * Refactor `proxmox` module. * Add changelog entry. * Add `choose_first_if_multiple` parameter for deprecation. (cherry picked from commit a61bdba) Co-authored-by: Markus Reiter <me@reitermark.us>
SUMMARY
Use shared
module_utils
for all Proxmox modules.ISSUE TYPE
COMPONENT NAME
proxmox*
ADDITIONAL INFORMATION
Extracted from #4027 for easier review.