Merge "tasks: cinder_install: Fix virtualenv-tools issue on openSUSE"
This commit is contained in:
commit
9ed58aa225
@ -99,12 +99,12 @@
|
|||||||
when: cinder_get_venv | failed or cinder_get_venv | skipped
|
when: cinder_get_venv | failed or cinder_get_venv | skipped
|
||||||
notify: Restart cinder services
|
notify: Restart cinder services
|
||||||
|
|
||||||
- name: CentOS remove python from path first
|
- name: Remove python from path first (CentOS, openSUSE)
|
||||||
file:
|
file:
|
||||||
path: "{{ cinder_bin | dirname }}/bin/python2.7"
|
path: "{{ cinder_bin | dirname }}/bin/python2.7"
|
||||||
state: "absent"
|
state: "absent"
|
||||||
when:
|
when:
|
||||||
- ansible_pkg_mgr in ['yum', 'dnf']
|
- ansible_pkg_mgr in ['yum', 'dnf', 'zypper']
|
||||||
- cinder_get_venv | changed
|
- cinder_get_venv | changed
|
||||||
|
|
||||||
- name: Update virtualenv path
|
- name: Update virtualenv path
|
||||||
|
Loading…
Reference in New Issue
Block a user