forked from ISTI-ansible-roles/ansible-roles
library/roles/python-env: Fix the python pip setup. Again.
This commit is contained in:
parent
468d033b5d
commit
5dc29f6628
|
@ -11,6 +11,7 @@ py_env_basic_pkgs:
|
|||
py_env_pip_dev_packages:
|
||||
- libpython-dev
|
||||
- libssl-dev
|
||||
- libffi-dev
|
||||
|
||||
py_env_pip_fix_ssl_warnings:
|
||||
- pyOpenSSL
|
||||
|
|
|
@ -41,13 +41,16 @@
|
|||
shell: /usr/local/bin/python-pip-fixer
|
||||
when: ( python_pip_fixer | changed )
|
||||
|
||||
- name: Install the python dev headers
|
||||
- name: Install the python dev headers and other dev requirements
|
||||
apt: pkg={{ item }} state=present
|
||||
with_items: '{{ py_env_pip_dev_packages }}'
|
||||
|
||||
- name: Install the latest six python package
|
||||
pip: name=six state=latest
|
||||
|
||||
- name: Install setuptools version 33.1.1
|
||||
pip: name=setuptools version=33.1.1 state=present
|
||||
|
||||
- name: Fix the ssl warnings installing some ssl libraries
|
||||
pip: name={{ item }}
|
||||
with_items: '{{ py_env_pip_fix_ssl_warnings | default ([]) }}'
|
||||
|
|
Loading…
Reference in New Issue