mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
c6316c1153
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
|
||
---|---|---|
.. | ||
action | ||
become | ||
cache | ||
callback | ||
connection | ||
doc_fragments | ||
filter | ||
inventory | ||
lookup | ||
module_utils | ||
modules | ||
test |