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

This commit is contained in:
Jenkins 2017-08-17 11:21:53 +00:00 committed by Gerrit Code Review
commit 9ed58aa225

View File

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