Home

Awesome

pyslackers.python

Build Status

Python role for ansible. This supports multiple python versions thanks to pythonz.

Role Variables

Example Playbook

- role: pyslackers.python
  python_versions:
    - "3.6.2"
    - "3.6.3"
  virtualenvs:
    env_1:
      path: /opt/env_1
      version: "3.6.1"
      requirements: requirements.txt
    env_2:
      path: /opt/env_2
      version: "3.6.2"
      pip_version: "8.0.1"

License

MIT