mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-30 01:41:45 -07:00
apt_rpm: add new states 'latest' and 'present_not_latest' (#8247)
* Add new states 'latest' and 'present_not_latest'. * Improve documentation.
This commit is contained in:
parent
af1c5dd785
commit
211688ef1b
2 changed files with 27 additions and 10 deletions
6
changelogs/fragments/8247-apt_rpm-latest.yml
Normal file
6
changelogs/fragments/8247-apt_rpm-latest.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
minor_changes:
|
||||
- "apt_rpm - add new states ``latest`` and ``present_not_latest``. The value ``latest`` is equivalent to the current behavior of
|
||||
``present``, which will upgrade a package if a newer version exists. ``present_not_latest`` does what most users would expect ``present``
|
||||
to do: it does not upgrade if the package is already installed. The current behavior of ``present`` will be deprecated in a later version,
|
||||
and eventually changed to that of ``present_not_latest``
|
||||
(https://github.com/ansible-collections/community.general/issues/8217, https://github.com/ansible-collections/community.general/pull/8247)."
|
Loading…
Add table
Add a link
Reference in a new issue