1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
patchback[bot] 06980d8239
pacman: don't always return changed w/ update_cache (#4318) (#4322)
* pacman: don't always return changed w/ update_cache

This used to be the behavior before the recent refactoring. [1]

Allows the following to return changed only when packages were upgraded:

  - pacman:
    update_cache: yes
    upgrade: yes

And the following to return changed only when the foo package wasn't at
the latest version:

  - pacman:
    name: foo
    state: latest
    update_cache: yes

[1] https://github.com/ansible-collections/community.general/pull/3907

* Update changelogs/fragments/4318-pacman-restore-old-changed-behavior.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit cc8151f209)

Co-authored-by: Evangelos Foutras <evangelos@foutrelis.com>
2022-03-06 22:57:22 +01:00
..
action fixed the utf-8 marker (#3162) 2021-08-07 15:02:21 +02:00
become Update BOTMETA, fix some plugin authors, improve BOTMETA extra sanity test (#3069) 2021-07-26 11:44:41 +02:00
cache Fix new devel sanity errors. (#3194) 2021-08-12 12:07:50 +02:00
callback [plugins/callback/syslog_json.py] use v2 api, add option to skip sysl… (#4223) (#4310) 2022-03-03 07:58:00 +01:00
connection Get rid of distutils.spawn and distutils.util (#3934) (#3974) 2022-01-04 07:22:25 +01:00
doc_fragments Updated keycloak.py to allow defining connection timeout value (#4168) (#4178) (#4198) 2022-02-14 19:56:01 +01:00
filter Add options to filter lists_mergeby (#4058) (#4101) 2022-01-28 12:46:05 +01:00
inventory Fix some more instances of ansible.module_utils._text. (#4232) (#4233) 2022-02-19 08:21:01 +01:00
lookup passwordstore: Add configurable locking (#4194) (#4243) 2022-02-21 21:37:47 +01:00
module_utils Updated keycloak.py to allow defining connection timeout value (#4168) (#4178) (#4198) 2022-02-14 19:56:01 +01:00
modules pacman: don't always return changed w/ update_cache (#4318) (#4322) 2022-03-06 22:57:22 +01:00
test a_module test: fix crash in case of tombstoning (#3660) (#3662) 2021-11-04 13:02:18 +01:00