mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
* pipx: add required_if for upgrade and reinstall
* add changelog fragment
(cherry picked from commit 83317419d7)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -164,7 +164,8 @@ class PipX(StateModuleHelper):
|
||||
('state', 'install', ['name']),
|
||||
('state', 'absent', ['name']),
|
||||
('state', 'uninstall', ['name']),
|
||||
# missing upgrade and reinstall requiring 'name'
|
||||
('state', 'upgrade', ['name']),
|
||||
('state', 'reinstall', ['name']),
|
||||
('state', 'inject', ['name', 'inject_packages']),
|
||||
],
|
||||
supports_check_mode=True,
|
||||
|
||||
Reference in New Issue
Block a user