mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
7b0890c98f
rhsm_repository: deprecate "state=present" and "state=absent" (#6673)
"state=present" is broken, and acts like "disabled"; also, the
subscription repositories cannot be really "added" or "removed", which
is what "present" and "absent" would imply, but only enabled or
disabled. Hence, deprecate both these states, slating them for removal
in community.general 10.0.0.
(cherry picked from commit 2dbe529a90
)
Co-authored-by: Pino Toscano <ptoscano@redhat.com>
8 lines
491 B
YAML
8 lines
491 B
YAML
deprecated_features:
|
|
- |
|
|
rhsm_repository - ``state=present`` has not been working as expected for many years,
|
|
and it seems it was not noticed so far; also, "presence" is not really a valid concept
|
|
for subscription repositories, which can only be enabled or disabled. Hence, mark the
|
|
``present`` and ``absent`` values of the ``state`` option as deprecated, slating them
|
|
for removal in community.general 10.0.0
|
|
(https://github.com/ansible-collections/community.general/pull/6673).
|