This role setups python3 and installed setuptools and python with the configured versions.
The role also setups a custom global_index_url
in /etc/pip.conf
if
configured.
This role requires Ansible 2.7 or higher.
See defaults/main.yml for the documented role variables.
This playbook setups python with a custom Sonatype nexus based pypi cache.
- hosts: python
roles:
- role: tobias_richter.python
python_global_index_url: https://nexus.main.corp/repository/pypi/simple