mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-13 01:24:22 -07:00
[PR #8809/43f8adf1 backport][stable-9] pipx: add new states (#8834)
pipx: add new states (#8809)
* ensure minimum version of pip
* ensure pipx 1.7.0 is installed
* pipx: add new states/params
* add tests
* add license to json file
* Update plugins/modules/pipx.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* fix uninject tests
* add changelog frag
* fix doc per review
* refactor license out of pipx spec file
* Update plugins/modules/pipx.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update tests/integration/targets/pipx/files/spec.json.license
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 43f8adf1a5
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
7c3b441246
commit
73a1ac2f1c
10 changed files with 377 additions and 11 deletions
|
@ -11,15 +11,20 @@ from ansible_collections.community.general.plugins.module_utils.cmd_runner impor
|
|||
|
||||
_state_map = dict(
|
||||
install='install',
|
||||
install_all='install-all',
|
||||
present='install',
|
||||
uninstall='uninstall',
|
||||
absent='uninstall',
|
||||
uninstall_all='uninstall-all',
|
||||
inject='inject',
|
||||
uninject='uninject',
|
||||
upgrade='upgrade',
|
||||
upgrade_shared='upgrade-shared',
|
||||
upgrade_all='upgrade-all',
|
||||
reinstall='reinstall',
|
||||
reinstall_all='reinstall-all',
|
||||
pin='pin',
|
||||
unpin='unpin',
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue