-
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
Fix #5313: redhat_subscription module is not idempotent when pool_ids are used #5319
Fix #5313: redhat_subscription module is not idempotent when pool_ids are used #5319
Conversation
Sorry, I had some trouble with rebasing the branch. I have modified the changelog fragment and created a new pull request. |
Continues #5314. |
Yes, I think you are right. We can remove the first conditional part |
Should I modify the pull request? |
I think so. |
This comment was marked as outdated.
This comment was marked as outdated.
e89e1e6
to
7512089
Compare
Done 🙂. |
7512089
to
d2d4d2a
Compare
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 think this looks correct now. I assume you did also test the latest version whether it really does what it should :)
I'll merge tomorrow evening if nobody complains by then.
I must test it tomorrow. RHEL testing is always more complicated. Please wait for my feedback. |
I have tested the modifications. They work like a charm 😊. Thanks for your support. |
d2d4d2a
to
4cec80e
Compare
This comment was marked as outdated.
This comment was marked as outdated.
4cec80e
to
4dc6790
Compare
…otent when pool_ids This fix ensures the idempotency of the redhat_subscription module when pool_ids are used. The main problem was, that a 'None' quantity was not properly handled and that the quantity check compared a string with an integer. Signed-off-by: Christoph Fiehe <[email protected]>
4dc6790
to
1e66d0f
Compare
Backport to stable-4: 💚 backport PR created✅ Backport PR branch: Backported as #5329 🤖 @patchback |
…#5319) This fix ensures the idempotency of the redhat_subscription module when pool_ids are used. The main problem was, that a 'None' quantity was not properly handled and that the quantity check compared a string with an integer. Signed-off-by: Christoph Fiehe <[email protected]> Signed-off-by: Christoph Fiehe <[email protected]> Co-authored-by: Christoph Fiehe <[email protected]> (cherry picked from commit 6fe2a84)
@cfiehe thanks for your contribution! |
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #5330 🤖 @patchback |
…#5319) This fix ensures the idempotency of the redhat_subscription module when pool_ids are used. The main problem was, that a 'None' quantity was not properly handled and that the quantity check compared a string with an integer. Signed-off-by: Christoph Fiehe <[email protected]> Signed-off-by: Christoph Fiehe <[email protected]> Co-authored-by: Christoph Fiehe <[email protected]> (cherry picked from commit 6fe2a84)
…#5319) (#5329) This fix ensures the idempotency of the redhat_subscription module when pool_ids are used. The main problem was, that a 'None' quantity was not properly handled and that the quantity check compared a string with an integer. Signed-off-by: Christoph Fiehe <[email protected]> Signed-off-by: Christoph Fiehe <[email protected]> Co-authored-by: Christoph Fiehe <[email protected]> (cherry picked from commit 6fe2a84) Co-authored-by: cfiehe <[email protected]>
…#5319) (#5330) This fix ensures the idempotency of the redhat_subscription module when pool_ids are used. The main problem was, that a 'None' quantity was not properly handled and that the quantity check compared a string with an integer. Signed-off-by: Christoph Fiehe <[email protected]> Signed-off-by: Christoph Fiehe <[email protected]> Co-authored-by: Christoph Fiehe <[email protected]> (cherry picked from commit 6fe2a84) Co-authored-by: cfiehe <[email protected]>
* upstream/main: (203 commits) Make pfexec become usable for illumos (ansible-collections#3889) znode: add options for authentication (ansible-collections#5306) keycloak_user_federation: add explanation and example to vendor option (ansible-collections#4893) Next expected release is 5.8.0. Allow terraform module to specify complex variable structures (ansible-collections#4797) Fix ansible-collections#5313: redhat_subscription module is not idempotent when pool_ids (ansible-collections#5319) bitwarden: Add field to search for all item attributes, instead of on… (ansible-collections#5297) New Module: Keycloak User Rolemapping (ansible-collections#4898) chore: Update lxc_container to support py3 (ansible-collections#5304) terraform: run `init` with no-color, too (ansible-collections#5147) nmcli: fix error when setting previously unset mac address (ansible-collections#5291) [feat] proxmox_snap: snapshot containers with configured mountpoints (ansible-collections#5274) machinectl: include the success command (ansible-collections#5287) Add SetSessionService to redfish_config (ansible-collections#5009) locale_gen: fix UbuntuMode (ansible-collections#5282) ini_file: fix lint error (ansible-collections#5307) netcup_dnsapi: Add timeout paramter (ansible-collections#5301) stable-2.14 is now default. Add stable-2.14 to CI, adjust to devel version bump (ansible-collections#5298) Try to run reuse workflow without explicitly allowing it for new contributors. (ansible-collections#5296) ...
…otent when pool_ids (ansible-collections#5319) This fix ensures the idempotency of the redhat_subscription module when pool_ids are used. The main problem was, that a 'None' quantity was not properly handled and that the quantity check compared a string with an integer. Signed-off-by: Christoph Fiehe <[email protected]> Signed-off-by: Christoph Fiehe <[email protected]> Co-authored-by: Christoph Fiehe <[email protected]>
…otent when pool_ids (ansible-collections#5319) This fix ensures the idempotency of the redhat_subscription module when pool_ids are used. The main problem was, that a 'None' quantity was not properly handled and that the quantity check compared a string with an integer. Signed-off-by: Christoph Fiehe <[email protected]> Signed-off-by: Christoph Fiehe <[email protected]> Co-authored-by: Christoph Fiehe <[email protected]>
SUMMARY
This fix ensures the idempotency of the redhat_subscription module when pool_ids are used. The main problem was, that a 'None' quantity was not properly handled and that the quantity check compared a string with an integer.
Signed-off-by: Christoph Fiehe [email protected]
ISSUE TYPE
COMPONENT NAME
redhat_subscription
ADDITIONAL INFORMATION