pacman: implement change detection for update_cache=true; add cache_updated return value (#4337)

* Implement change detection for update_cache=true. Add cache_updated return value.

* ...

* Make sure pacman --sync --list is called only as often as necessary.
This commit is contained in:
Felix Fontein 2022-03-15 05:38:59 +01:00 committed by GitHub
commit cf4d68ac50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 122 additions and 13 deletions

View file

@ -0,0 +1,4 @@
minor_changes:
- "pacman - now implements proper change detection for ``update_cache=true``. Adds ``cache_updated`` return value to when ``update_cache=true``
to report this result independently of the module's overall changed return value
(https://github.com/ansible-collections/community.general/pull/4337)."