Install Python 2.7 on Amazon EC2 or CentOS server.
Written in Ansible 2.0.*
Available variables are listed below, along with default values (see defaults/main.yml
):
Python version, default is 2.7.9
.
easy_install
executable name, default is easy_install-2.7
.
pip
execuable name, default is pip2.7
.
python
executable name, default is python2.7
.
Additional installed python packages, default are:
virtualenv
wheel
juwai.common
- hosts: servers
roles:
- juwai.python27
MIT
This role was created in 2016 by Juwai Limited.