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/tests/unit/plugins
Pino Toscano 101c957631
redhat_subscription: drop unneeded args to Rhsm.register() (#5583)
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
2022-11-29 13:07:08 +01:00
..
become Make pfexec become usable for illumos (#3889) 2022-10-05 08:26:40 +02:00
cache Add more license statements (#5079) 2022-08-07 13:37:23 +02:00
callback opentelemetry: send logs (#4175) 2022-10-10 20:54:52 +02:00
connection Add more license statements (#5079) 2022-08-07 13:37:23 +02:00
filter feat: Add crc32 filter (#5062) 2022-08-21 12:10:31 +02:00
inventory linnode inventory, remove redundant (#5438) 2022-11-01 07:33:43 +01:00
lookup Actually sort the fixtures (#5510) 2022-11-09 07:28:14 +01:00
module_utils cmd_runner module utils: fix case for as_fixed() format (#5538) 2022-11-16 06:44:40 +01:00
modules redhat_subscription: drop unneeded args to Rhsm.register() (#5583) 2022-11-29 13:07:08 +01:00