diff --git a/tasks/cinder_install.yml b/tasks/cinder_install.yml index 0be11b54..71855dd2 100644 --- a/tasks/cinder_install.yml +++ b/tasks/cinder_install.yml @@ -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