python_requirements_info – Show python path and assert dependency versions¶
New in version 2.7.
Synopsis¶
Get info about available Python requirements on the target host, including listing required libraries and gathering versions.
This module was called
python_requirements_facts
before Ansible 2.9. The usage did not change.
Aliases: python_requirements_facts
Parameters¶
Examples¶
- name: show python lib/site paths
python_requirements_info:
- name: check for modern boto3 and botocore versions
python_requirements_info:
dependencies:
- boto3>1.6
- botocore<2
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]