Give the option to force a run of the pip fixer script, on Ubuntu Trusty.

This commit is contained in:
Andrea Dell'Amico 2019-06-06 19:10:55 +02:00
parent de72fca3f7
commit d42f5c5b3c
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
---
python_pkgs_state: present
python_get_pip_url: https://bootstrap.pypa.io/get-pip.py
python_force_pip_fix: False
python_basic_pkgs:
- python-pip

View File

@ -9,7 +9,7 @@
- name: Fix the trusty pip installation
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
apt: pkg={{ python_pip_dev_packages }} state={{ python_pkgs_state }} update_cache=yes cache_valid_time=1800