mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
efedd0d6e2
Stop passing all the "rhsm_", and "server_" module arguments to
"Rhsm.register()", and thus as arguments for
"subscription-manager register":
- right before calling "Rhsm.register()", "Rhsm.configure()" is called
to configure subscription-manager with all the "rhsm_", and "server_"
arguments; hence, they are already configured
- the passed argument to "--serverurl" is partially wrong:
"Rhsm.register()" passes only the hostname, whereas the other bits
(port and prefix) are supported too; this "works" because port and
prefix were already configured previously, and the lax parsing that
subscription-manager does allows for missing bits
- the parsing done by subscription-manager for "--baseurl" strips out
the URL scheme and always uses https: this means that specifying
"rhsm_baseurl: http://server" as module parameter will be taken as
"https://server" by subscription-manager; since "rhsm_baseurl" is
already configured by "Rhsm.configure()", this issue is gone
(cherry picked from commit
|
||
---|---|---|
.. | ||
.keep | ||
3910-redfish-add-operation-apply-time-to-simple-update.yml | ||
4276-redfish-command-updates-for-full-simple-update-workflow.yml | ||
5538-cmd-runner-as-fixed.yml | ||
5545-gconftool-cmd-runner.yml | ||
5549-lxd-project-sanity.yml | ||
5550-java_certs-not-enough-info-on-error.yml | ||
5553-spotinst-aws-elasticgroup-sanity.yml | ||
5557-udm-share-sanity.yml | ||
5559-udm-user-sanity.yml | ||
5563-rax-scaling-group-sanity.yml | ||
5565-jenkins-plugin-sanity.yml | ||
5566-additional-flags-nmap.yml | ||
5570-chroot-plugin-fix-default-inventory_hostname.yml | ||
5583-redhat_subscription-subscribe-parameters.yaml | ||
5601-unixy-callback-use-config-manager.yml | ||
sap-removal.yml |