Skip to content

tobias-richter/ansible-python

Repository files navigation

tobias_richter.python

Build Status

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.

Requirements

This role requires Ansible 2.7 or higher.

Role Variables

See defaults/main.yml for the documented role variables.

Example Playbook

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

About

Ansible role for managing python installation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages