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
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
..
action
become
cache
callback [plugins/callback/syslog_json.py] use v2 api, add option to skip sysl… (#4223) 2022-03-03 07:33:29 +01:00
connection Get rid of distutils.spawn and distutils.util (#3934) 2022-01-04 06:56:28 +01:00
doc_fragments Updated keycloak.py to allow defining connection timeout value (#4168) (#4178) 2022-02-14 19:43:17 +01:00
filter Add options to filter lists_mergeby (#4058) 2022-01-28 08:19:19 +01:00
inventory feat: support cache in Linode inventory (#4179) 2022-02-18 23:15:29 +01:00
lookup passwordstore: Add configurable locking (#4194) 2022-02-21 21:14:17 +01:00
module_utils Updated keycloak.py to allow defining connection timeout value (#4168) (#4178) 2022-02-14 19:43:17 +01:00
modules pacman: add support for remove_nosave (#4316) 2022-03-08 07:21:40 +01:00
test a_module test: fix crash in case of tombstoning (#3660) 2021-11-04 08:29:17 +01:00