Merge "tasks: neutron_install: Fix virtualenv-tools issue on openSUSE"

This commit is contained in:
Jenkins 2017-08-17 14:50:35 +00:00 committed by Gerrit Code Review
commit 2e8c127155

View File

@ -105,12 +105,12 @@
when: neutron_get_venv | failed or neutron_get_venv | skipped
notify: Restart neutron services
- name: CentOS remove python from path first
- name: Remove python from path first (CentOS, openSUSE)
file:
path: "{{ neutron_bin | dirname }}/bin/python2.7"
state: "absent"
when:
- ansible_pkg_mgr == 'yum'
- ansible_pkg_mgr in ['yum', 'zypper']
- neutron_get_venv | changed
- name: Update virtualenv path