mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
88b5e7ec0b
Deprecate module_utils.redhat (#6663)
This module contains bits that are either unused (the Rhsm* classes), or
used only by deprecated modules (the RegistrationBase class).
Considering that the bits here have not seen updates in years, it is
unlikely that anyone is actually using them as "library".
Hence, deprecate the whole module altogether:
- the Rhsm* classes, as not used by anything, are slated for removal in
9.0.0
- the RegistrationBase class is slated for removal in 10.0.0, together
with its only user (i.e. the rhn_register module)
(cherry picked from commit 78c42def04
)
Co-authored-by: Pino Toscano <ptoscano@redhat.com>
11 lines
644 B
YAML
11 lines
644 B
YAML
deprecated_features:
|
|
- |
|
|
redhat module utils - the ``module_utils.redhat`` module is deprecated, as
|
|
effectively unused: the ``Rhsm``, ``RhsmPool``, and ``RhsmPools`` classes
|
|
will be removed in community.general 9.0.0; the ``RegistrationBase`` class
|
|
will be removed in community.general 10.0.0 together with the
|
|
``rhn_register`` module, as it is the only user of this class; this means
|
|
that the whole ``module_utils.redhat`` module will be dropped in
|
|
community.general 10.0.0, so importing it without even using anything of it
|
|
will fail
|
|
(https://github.com/ansible-collections/community.general/pull/6663).
|