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
commit d4e92fc720
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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).