forked from ISTI-ansible-roles/ansible-roles
Fix a conditional so that on Trusty pip is not installed as a deb package.
This commit is contained in:
parent
2cea5f12c3
commit
19541312ff
|
@ -8,6 +8,15 @@
|
|||
- py_env_install
|
||||
- is_not_trusty
|
||||
tags: [ "python", "py_env" ]
|
||||
|
||||
- block:
|
||||
- name: Remove python deb packages
|
||||
apt: name={{ item }} state=absent
|
||||
with_items: '{{ py_env_dpkg_toremove | default([]) }}'
|
||||
|
||||
when:
|
||||
- py_env_install
|
||||
tags: [ "python", "py_env", "py_env_pkgs" ]
|
||||
|
||||
- block:
|
||||
- name: Install python deb packages
|
||||
|
@ -29,3 +38,4 @@
|
|||
when:
|
||||
- py_env_install
|
||||
tags: [ "python", "py_env", "py_env_pkgs" ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue