We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pipx role does not install packages globally when requesting state: latest, but it does with state: present
pipx
state: latest
state: present
Bug Report
ansible [core 2.17.6] config file = /workspace/ansible.cfg configured module search path = ['/home/vscode/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/vscode/.local/lib/python3.12/site-packages/ansible ansible collection location = /home/vscode/.ansible/collections:/usr/share/ansible/collections executable location = /home/vscode/.local/bin/ansible python version = 3.12.3 (main, Apr 24 2024, 11:17:35) [GCC 12.2.0] (/usr/local/bin/python) jinja version = 3.1.4 libyaml = True
# /home/vscode/.ansible/collections/ansible_collections Collection Version ----------------- ------- community.general 10.0.0 # /home/vscode/.local/lib/python3.12/site-packages/ansible_collections Collection Version ----------------- ------- community.general 9.5.1
$ ansible-config dump --only-changed
devontainer mcr.microsoft.com/vscode/devcontainers/python
mcr.microsoft.com/vscode/devcontainers/python
- community.general.pipx: name: hello-world global: true state: latest
"cmd": ["/bin/python3", "-m", "pipx", "upgrade", "--global", "hello-world"]
"cmd": ["/bin/python3", "-m", "pipx", "upgrade", "hello-world"]
The text was updated successfully, but these errors were encountered:
Files identified in the description:
plugins/modules/pipx.py
If these files are incorrect, please update the component name section of the description or use the !component bot command.
component name
!component
click here for bot help
Sorry, something went wrong.
cc @russoz click here for bot help
No branches or pull requests
Summary
pipx
role does not install packages globally when requestingstate: latest
, but it does withstate: present
Issue Type
Bug Report
Component Name
pipx
Ansible Version
Community.general Version
Configuration
$ ansible-config dump --only-changed
OS / Environment
devontainer
mcr.microsoft.com/vscode/devcontainers/python
Steps to Reproduce
Expected Results
"cmd": ["/bin/python3", "-m", "pipx", "upgrade", "--global", "hello-world"]
Actual Results
"cmd": ["/bin/python3", "-m", "pipx", "upgrade", "hello-world"]
Code of Conduct
The text was updated successfully, but these errors were encountered: