1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-31 01:16:17 +00:00
community.general/plugins/modules/packaging
Ross Williams ec03bc1a2a pkgng: call module.run_command with list
Instead of calling `run_command` with a formatted
string, call it with a list to maintain safer argument
separation.

Also, introduce a wrapper for `run_command`, `run_pkgng`,
which manages the process environment and some common
command line switches, based upon the module parameters.

Introduced in this commit, also pass annotation values
to `pkg annotate` via stdin, which is safer with long
values than putting them in argv.
2021-10-12 21:15:25 +00:00
..
language pipx - new module (#3507) 2021-10-06 07:01:54 +02:00
os pkgng: call module.run_command with list 2021-10-12 21:15:25 +00:00