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/plugins
patchback[bot] efedd0d6e2
redhat_subscription: drop unneeded args to Rhsm.register() (#5583) (#5626)
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 101c957631)

Co-authored-by: Pino Toscano <ptoscano@redhat.com>
2022-11-29 13:20:30 +01:00
..
action Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
become Make pfexec become usable for illumos (#3889) 2022-10-05 08:26:40 +02:00
cache Normalize more booleans. (#5247) 2022-09-06 20:42:17 +02:00
callback unixy Callback: Use Ansible's config manager (#5601) (#5625) 2022-11-29 08:01:09 +01:00
connection chroot plugin fix inventory_hostname var for remote_addr (#5570) (#5573) 2022-11-17 07:30:00 +01:00
doc_fragments Document attributes (_info and _facts modules for now) (#5481) 2022-11-06 21:16:43 +01:00
filter Clarification to use underscores instead of dashes in parser name (#5500) (#5509) 2022-11-08 20:32:20 +01:00
inventory Add additional flags to nmap.py (#5566) (#5576) 2022-11-23 07:37:59 +01:00
lookup dependent lookup: prevent deprecation warning with ansible-core 2.14 (#5543) (#5548) 2022-11-15 08:38:34 +01:00
module_utils Redfish: Expanded SimpleUpdate command to allow for users to monitor the progress of an update and perform follow-up operations (#5580) (#5590) 2022-11-23 08:03:19 +01:00
modules redhat_subscription: drop unneeded args to Rhsm.register() (#5583) (#5626) 2022-11-29 13:20:30 +01:00
test Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00