mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
6e1a1c028e
* Improve docs, make sure that packages is always returned, deprecate update_cache behavior. * Add cache_updated return value. * Revert "Add cache_updated return value." This reverts commit367297bb5c
. * Update tests/unit/plugins/modules/packaging/os/test_pacman.py Co-authored-by: Jean Raby <jean@raby.sh> Co-authored-by: Jean Raby <jean@raby.sh> (cherry picked from commit10ca62905f
) Co-authored-by: Felix Fontein <felix@fontein.de>
7 lines
603 B
YAML
7 lines
603 B
YAML
bugfixes:
|
|
- "pacman - make sure that ``packages`` is always returned when ``name`` or ``upgrade`` is specified, also if nothing is done
|
|
(https://github.com/ansible-collections/community.general/pull/4329)."
|
|
deprecated_features:
|
|
- "pacman - from community.general 5.0.0 on, the ``changed`` status of ``update_cache`` will no longer be ignored if ``name`` or ``upgrade`` is specified.
|
|
To keep the old behavior, add something like ``register: result`` and ``changed_when: result.packages | length > 0`` to your task
|
|
(https://github.com/ansible-collections/community.general/pull/4329)."
|