mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
43beaf4b00
redhat_subscription: manually unregister only when registered (#6259)
When registering using D-Bus and using a version of subscription-manager
with an unimplemented 'force' option, then unregister manually the
system only if it is registered. 'subscription-manager unregister'
errors out when trying to unregister an already unregistered system.
(cherry picked from commit c9e11e5c0c
)
Co-authored-by: Pino Toscano <ptoscano@redhat.com>
4 lines
269 B
YAML
4 lines
269 B
YAML
bugfixes:
|
|
- redhat_subscription - try to unregister only when already registered when ``force_register`` is specified
|
|
(https://github.com/ansible-collections/community.general/issues/6258,
|
|
https://github.com/ansible-collections/community.general/pull/6259).
|