mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
pkgng: Add support for upgrading all installed packages (#569)
* pkgng: Add support for upgrading all installed packages Adds support for ``name: "*", state: latest`` to upgrade all installed packages, similar to other package providers. Co-authored-by: Felix Fontein <felix@fontein.de> * pkgng: Improve wording for warning in example, fix formatting * pkgng.py: Fix capitalization Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Davíð Steinn Geirsson <david@isnic.is> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
committed by
GitHub
parent
c1b5b51366
commit
d0b07885f0
6
changelogs/fragments/569-pkgng-add-upgrade-action.yaml
Normal file
6
changelogs/fragments/569-pkgng-add-upgrade-action.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
minor_changes:
|
||||
- "pkgng - added support for upgrading all packages using ``name: *, state: latest``, similar to other package providers (https://github.com/ansible-collections/community.general/pull/569)."
|
||||
breaking_changes:
|
||||
- "pkgng - passing ``name: *`` with ``state: latest`` or ``state: present`` will no longer install every package from the configured package repositories. Instead, ``name: *, state: latest`` will upgrade all already-installed packages, and ``name: *, state: present`` is a noop. (https://github.com/ansible-collections/community.general/pull/569)."
|
||||
- "pkgng - passing ``name: *`` with ``state: absent`` will no longer remove every installed package from the system. It is now a noop. (https://github.com/ansible-collections/community.general/pull/569)."
|
||||
Reference in New Issue
Block a user