pipx: add required_if fo upgrade and reinstall (#5100)

* pipx: add required_if for upgrade and reinstall

* add changelog fragment
This commit is contained in:
Alexei Znamensky 2022-08-09 20:15:51 +12:00 committed by GitHub
parent aab22e7f32
commit 83317419d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 2 deletions

View file

@ -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,