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
Jean Raby c698ecd201
pacman: add support for remove_nosave (#4316)
* pacman: add support for remove_nosave

New parameter: remove_nosave
When enabled, will pass --nosave to pacman when removing packages.
--nosave cannot be used with --print-format and thus it couldn't be
passed via extra_args. See #4315

The code adds the option right before the actual removal of the pkgs.

(This is based on an initial diff from MorphBonehunter)

* changelog

* Update plugins/modules/packaging/os/pacman.py

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

* wording

* ssss

* remove_package: simplify {force,extra,nosave}_args

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-03-08 07:21:40 +01:00
..
basic.yml Add very basic integration tests for pcaman. (#4289) 2022-02-27 13:04:14 +01:00
main.yml pacman: add support for remove_nosave (#4316) 2022-03-08 07:21:40 +01:00
package_urls.yml pacman: re-adding support for URL based pkgs (#4286) 2022-03-01 06:03:18 +01:00
remove_nosave.yml pacman: add support for remove_nosave (#4316) 2022-03-08 07:21:40 +01:00