Here is how to use pipx
to install ansible
and related tools.
pipx install --include-deps ansible
pipx inject --include-apps ansible ansible-lint
pipx inject --include-apps ansible molecule
pipx inject ansible 'molecule-plugins[podman,vagrant]'
pipx install yamllint
You can also install ansible
using a specific python
interpreter available on your system like so:
pipx install --include-deps --python ~/.asdf/installs/python/3.11.4/bin/python ansible
The rest of the commands remain the same.