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
Pino Toscano 42f7531f21
redhat_subscription: refactor of internal Rhsm class (#6658)
The two RegistrationBase & Rhsm classes were copied from the ones in the
shared module_utils.redhat module; that said:
- the versions here got improvements over the years
- the RegistrationBase in module_utils.redhat is used only by the RHN
  modules, which are deprecated and slated for removal

Hence, the classes here can be kept and simplified a bit:
- fold the non-dummy content of RegistrationBase into Rhsm: there is no
  more need for the separate RegistrationBase base class
- drop the init arguments "username", "password", and "token": the
  instance variables of them are not used anywhere, as the needed
  credentials (together with other variables) are passed to the
  register() method
- create the Rhsm object later in main(), after the AnsibleModule
  creation and the uid check: this avoids the creation of Rhsm with a
  null module variable, changing it later

There should be no behaviour change.
2023-06-10 15:03:34 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
6223-get-secret-ids-by-folderid.yml Fetch secret id's which are in folder by folder id (#6652) 2023-06-09 17:14:05 +02:00
6435-snap-channel-aware.yml snap: aware of channel in installed snaps (#6435) 2023-06-06 20:49:12 +02:00
6471-redfish-add-multipart-http-push-command.yml Redfish: Add MultipartHTTPPushUpdate (#6612) 2023-06-05 21:56:44 +02:00
6502-cobbler-inventory_hostname.yml plugins/inventory/cobbler: Add option to use system name for inventory (#6502) 2023-05-29 18:53:56 +02:00
6510-proxmox-create-support_timezone.yaml proxmox: support param timezone when creating container (#6510) 2023-05-31 08:01:47 +02:00
6512-cpanm-default-mode.yml cpanm: deprecate default mode (#6512) 2023-05-29 18:52:02 +02:00
6513-opkg-default-force.yml opkg: remove useless default value for force (#6513) 2023-05-29 18:52:29 +02:00
6520-mas-disable-signin.yaml mas: disable sign-in check for macOS 12+ (#6520) 2023-05-29 18:53:20 +02:00
6522-copr-respawn.yaml respawn copr module when dnf is missing (#6522) 2023-05-29 18:52:50 +02:00
6523-datadog-monitor-notification-preset-name-and-renotify.yaml datadog_monitor: Added notification preset name and renotify options (#6523) 2023-05-29 18:51:43 +02:00
6525-sorcery-import.yaml sorcery: moved import to top (#6525) 2023-05-29 18:54:35 +02:00
6527-nmcli-bond-fix-xmit_hash_policy.yml nmcli: Fix bond option xmit_hash_policy (#6527) 2023-05-21 17:03:38 +02:00
6531-opentelemetry-add-event-attributes.yml opentelemetry: add span event attributes (#6531) 2023-06-06 20:54:58 +02:00
6533-proxmox_kvm-tpmstate0-support.yaml proxmox_kvm: support for tpmstate0 parameter (#6533) 2023-05-29 18:56:57 +02:00
6534-zypper-exitcode-102-handled.yaml added handling of zypper exitcode 102: ZYPPER_EXIT_INF_REBOOT_NEEDED (#6534) 2023-05-22 06:24:53 +02:00
6539-semantic-markup.yml Enable using semantic markup (#6539) 2023-05-20 13:05:44 +02:00
6548-portage-changed_use-newuse.yml portage: fix changed_use and newuse not triggering rebuilds (#6008) (#6548) 2023-05-21 21:36:46 +02:00
6554-proxmox-tasks-info-fix-required-password.yaml Don't require api_password when api_token_id is used in proxmox_tasks_info (#6554) 2023-05-22 06:32:26 +02:00
6568-fix-get-user-by-username-in-keycloak-module-utils.yml Fix get_user_by_username in keycloak library (#6568) 2023-05-29 15:32:15 +02:00
6570-handle-shutdown-timeout.yaml proxmox_kvm | Expose timeout param to stopped state (#6570) 2023-05-29 18:56:33 +02:00
6576-proxmox-snap-allow-to-remove-old-snapshots.yml proxmox_snap: allow set retention for snapshots (#6577) 2023-06-09 12:56:22 +02:00
6601-cmdrunner-deprecate-default-type.yml CmdRunner module utils: deprecate format method as_default_type() (#6601) 2023-05-31 07:58:28 +02:00
6602-vardict-as-dict.yml VarDict module utils: add as_dict() method (#6602) 2023-05-31 07:58:54 +02:00
6644-dependencymixin-fix.yml MH mh/mixins/deps.py: prevent deprecation warning when no deps are specified (#6644) 2023-06-09 12:56:10 +02:00
6646-redhat_subscription-deprecate-autosubscribe.yml redhat_subscription: officially deprecate "autosubscribe" (#6646) 2023-06-09 13:20:40 +02:00
6649-varsmixin-deprecation.yml MH VarsMixin deprecation (#6649) 2023-06-09 13:27:22 +02:00
6650-redhat_subscription-deprecate-pool.yml redhat_subscription: deprecate "pool" (#6650) 2023-06-09 13:27:38 +02:00
6658-redhat_subscription-internal-rhsm-refactor.yml redhat_subscription: refactor of internal Rhsm class (#6658) 2023-06-10 15:03:34 +02:00
6663-deprecate-module_utils-redhat.yml Deprecate module_utils.redhat (#6663) 2023-06-10 13:26:14 +02:00
ini_file-preserve-symlink.yml ini_file: Don't creates new file instead of following symlink (#6546) 2023-05-29 18:56:06 +02:00