mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 08:01:24 -07:00
apt_rpm: deprecate behavior of state=present and state=installed (#8285)
* Deprecate behavior of state=present and state=installed. * Fix changelog fragment. Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> --------- Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
70adba8991
commit
ea719649bb
2 changed files with 19 additions and 0 deletions
7
changelogs/fragments/8285-apt_rpm-state-deprecate.yml
Normal file
7
changelogs/fragments/8285-apt_rpm-state-deprecate.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
deprecated_features:
|
||||
- "apt_rpm - the behavior of ``state=present`` and ``state=installed`` is deprecated and will change in community.general 11.0.0.
|
||||
Right now the module will upgrade a package to the latest version if one of these two states is used. You should explicitly
|
||||
use ``state=latest`` if you want this behavior, and switch to ``state=present_not_latest`` if you do not want to upgrade the
|
||||
package if it is already installed. In community.general 11.0.0 the behavior of ``state=present`` and ``state=installed`` will
|
||||
change to that of ``state=present_not_latest`` (https://github.com/ansible-collections/community.general/issues/8217,
|
||||
https://github.com/ansible-collections/community.general/pull/8285)."
|
Loading…
Add table
Add a link
Reference in a new issue