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]'