pacman: user --groups instead of --group (#4312)

* s/group/groups/

Pacman accepts --group but the actual option name is --groups.
Allows use of other binaries with the same CLI interface as pacman (yay)

* changelog

* Apply suggestions from code review

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

* Add note regarding pacman compat + --print-format

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

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

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Jean Raby
2022-03-04 13:25:42 -05:00
committed by GitHub
parent 36ddb9b8e5
commit d4e92fc720
2 changed files with 15 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
bugfixes:
- pacman - Use ``--groups`` instead of ``--group``
(https://github.com/ansible-collections/community.general/pull/4312).
known_issues:
- pacman - binaries specified in the ``executable`` parameter must support
``--print-format`` in order to be used by this module.
In particular, AUR helper ``yay`` is known not to currently support it
(https://github.com/ansible-collections/community.general/pull/4312).