community.general.pip_package_info – pip package information¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.pip_package_info
.
Requirements¶
The below requirements are needed on the host that executes this module.
The requested pip executables must be installed on the target.
Parameters¶
Examples¶
- name: Just get the list from default pip
community.general.pip_package_info:
- name: Get the facts for default pip, pip2 and pip3.6
community.general.pip_package_info:
clients: ['pip', 'pip2', 'pip3.6']
- name: Get from specific paths (virtualenvs?)
community.general.pip_package_info:
clients: '/home/me/projec42/python/pip3.5'
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Matthew Jones (@matburt)
Brian Coca (@bcoca)
Adam Miller (@maxamillion)