You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Pinning the os release if variable is set.community.general.redhat_subscription:
release: "{{ redhat_subscription_manager_os_release }}"become: truewhen: redhat_subscription_manager_os_release is defined
Expected Results
changed
when no pinning is set or if pinning is set to another version (tested both).
Actual Results
returns green [ok] all the time.
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered:
Is the system already registered? The module has historically done changes only when actually registering, and starting from community.general 6.5.0 it started to apply changes also when there was not a status change required (i.e. the system was not registered, and the execution would register the system).
For already registered systems, the module to be used is rhsm_release.
Summary
I want to use the release pinning in ansible. Target systems are already registered successfully with the same module.
If I can provide any more information to help, please let me know.
Issue Type
Bug Report
Component Name
community.general.redhat_subscription
Ansible Version
Environment:
Community.general Version
Configuration
OS / Environment
Subscription Manager stack on targets is the following (RHEL 9.4):
Steps to Reproduce
Expected Results
changed
when no pinning is set or if pinning is set to another version (tested both).
Actual Results
returns green [ok] all the time.
Code of Conduct
The text was updated successfully, but these errors were encountered: