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/tests/integration/targets/pacman/tasks
patchback[bot] 2cc72c2213
Pacman: Add support for install reason (#4956) (#5040)
* Pacman: Add support for setting install reason

* Improved description

* Fix documentation

* Add changelog fragment

* Use source for installation

* Get all reasons at once

* Removed default for reason

* Added version info to documentation

* Fix NameError

* Moved determination of reason to _build_inventory

* Fix duplication and sanity errors

* adjust tests for changed inventory

* Documentation: remove empty default for reason

* mention packages with changed reason in exit params/info

* Added integration tests for reason and reason_for

Inspired by the integration tests for url packages

* Correct indentation

* Fix indentation

* Also sort changed packages in normal mode

* Also sort result in unit test

* Apply suggestions from code review

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

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

Co-authored-by: Minei3oat <Minei3oat@users.noreply.github.com>
2022-07-31 22:55:21 +02:00
..
basic.yml Add very basic integration tests for pcaman. (#4289) 2022-02-27 13:04:14 +01:00
locally_installed_package.yml pacman: Fix removing locally installed packages (#4464) 2022-04-13 13:34:33 +02:00
main.yml Pacman: Add support for install reason (#4956) (#5040) 2022-07-31 22:55:21 +02:00
package_urls.yml Pacman: Improve url integrity test (#4968) (#5011) 2022-07-27 07:41:40 +02:00
reason.yml Pacman: Add support for install reason (#4956) (#5040) 2022-07-31 22:55:21 +02:00
remove_nosave.yml pacman: add support for remove_nosave (#4316) 2022-03-08 07:21:40 +01:00
update_cache.yml pacman: implement change detection for update_cache=true; add cache_updated return value (#4337) 2022-03-15 05:38:59 +01:00