Fix the apt task.
This commit is contained in:
parent
e57eb7f4ed
commit
bd7895892e
|
@ -12,8 +12,7 @@
|
|||
when: python_pip_fixer is changed
|
||||
|
||||
- name: Install the python dev headers and other dev requirements
|
||||
apt: pkg={{ item }} state={{ python_pkgs_state }} update_cache=yes cache_valid_time=1800
|
||||
with_items: '{{ python_pip_dev_packages }}'
|
||||
apt: pkg={{ python_pip_dev_packages }} state={{ python_pkgs_state }} update_cache=yes cache_valid_time=1800
|
||||
|
||||
- name: Install a specific version of tornado to avoid breaking dependencies
|
||||
pip: name=tornado version=4.1 state=present
|
||||
|
@ -25,8 +24,7 @@
|
|||
pip: name=setuptools version=33.1.1 state=present
|
||||
|
||||
- name: Fix the ssl warnings installing some ssl libraries
|
||||
pip: name={{ item }} state={{ python_pkgs_state }}
|
||||
with_items: '{{ python_pip_fix_ssl_warnings | default ([]) }}'
|
||||
pip: name={{ python_pip_fix_ssl_warnings | default ([]) }} state={{ python_pkgs_state }}
|
||||
register: python_pip_env_workaround
|
||||
|
||||
when: is_trusty
|
||||
|
|
Loading…
Reference in New Issue