forked from ISTI-ansible-roles/ansible-roles
Give the option to force a run of the pip fixer script, on Ubuntu Trusty.
This commit is contained in:
parent
de72fca3f7
commit
d42f5c5b3c
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
python_pkgs_state: present
|
python_pkgs_state: present
|
||||||
python_get_pip_url: https://bootstrap.pypa.io/get-pip.py
|
python_get_pip_url: https://bootstrap.pypa.io/get-pip.py
|
||||||
|
python_force_pip_fix: False
|
||||||
|
|
||||||
python_basic_pkgs:
|
python_basic_pkgs:
|
||||||
- python-pip
|
- python-pip
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
- name: Fix the trusty pip installation
|
- name: Fix the trusty pip installation
|
||||||
shell: /usr/local/bin/python-pip-fixer
|
shell: /usr/local/bin/python-pip-fixer
|
||||||
when: python_pip_fixer is changed
|
when: python_pip_fixer is changed or python_force_pip_fix
|
||||||
|
|
||||||
- name: Install the python dev headers and other dev requirements
|
- name: Install the python dev headers and other dev requirements
|
||||||
apt: pkg={{ python_pip_dev_packages }} state={{ python_pkgs_state }} update_cache=yes cache_valid_time=1800
|
apt: pkg={{ python_pip_dev_packages }} state={{ python_pkgs_state }} update_cache=yes cache_valid_time=1800
|
||||||
|
|
Loading…
Reference in New Issue