1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments/6319-redhat_subscription-fix-environment-parameter.yaml
patchback[bot] c6316c1153
[PR #6319/83994c0a backport][stable-6] redhat_subscription: use CLI when using environments (#6332)
redhat_subscription: use CLI when using environments (#6319)

It turns out that the 'environments' that the D-Bus Register*() APIs
accept are the IDs of the environments, and not the user-facing names of
the environments (which is what the module has been accepting so far).

Since there is no easy way to do the mapping manually, for now use again
the subscription-manager CLI for registering when environments are
specified.

(cherry picked from commit 83994c0a2d)

Co-authored-by: Pino Toscano <ptoscano@redhat.com>
2023-04-13 08:09:58 +02:00

5 lines
294 B
YAML

bugfixes:
- redhat_subscription - do not use D-Bus for registering when ``environment`` is specified,
so it possible to specify again the environment names for registering,
as the D-Bus APIs work only with IDs
(https://github.com/ansible-collections/community.general/pull/6319).