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
..
2023-03-09 20:09:13 +01:00
2023-04-29 21:46:12 +02:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-03-25 08:23:20 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-07 20:15:00 +01:00
2022-11-02 20:42:29 +00:00
2023-03-04 20:51:50 +01:00
2023-02-12 21:05:08 +01:00
2023-04-28 10:05:24 +02:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-05-03 22:45:35 +02:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-03-25 08:23:20 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-05-09 19:48:29 +02:00
2022-11-02 20:42:29 +00:00
2022-11-10 21:18:01 +01:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-06-09 06:17:44 +02:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2023-02-26 14:58:58 +01:00
2022-11-02 20:42:29 +00:00
2023-05-21 17:03:38 +02:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-01-22 17:10:36 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-03-02 07:01:15 +01:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-05-03 22:45:01 +02:00
2023-06-10 15:03:34 +02:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-03-22 13:15:32 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-03 11:02:14 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-08-08 14:24:58 +02:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00