forked from ISTI-ansible-roles/ansible-roles
Fix the python-env role. Some new dependencies broke it.
This commit is contained in:
parent
5d1ece1c20
commit
8bd1a6c108
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
py_env_install: False
|
||||
py_env_pkgs_state: installed
|
||||
py_env_pkgs_state: present
|
||||
py_env_site: False
|
||||
py_env_trusty_workaround: True
|
||||
py_env_get_pip_url: https://bootstrap.pypa.io/get-pip.py
|
||||
|
|
|
@ -25,14 +25,15 @@
|
|||
|
||||
- name: Fix the trusty pip installation
|
||||
shell: /usr/local/bin/python-pip-fixer
|
||||
when: ( python_pip_fixer | changed )
|
||||
when: python_pip_fixer is changed
|
||||
|
||||
- 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
|
||||
#pip: name=six state=latest
|
||||
pip: name=six state=present
|
||||
|
||||
- name: Install setuptools version 33.1.1
|
||||
pip: name=setuptools version=33.1.1 state=present
|
||||
|
|
Loading…
Reference in New Issue