diff --git a/tasks/heat_install.yml b/tasks/heat_install.yml index 23d5b45..e0e0c45 100644 --- a/tasks/heat_install.yml +++ b/tasks/heat_install.yml @@ -100,12 +100,12 @@ when: heat_get_venv | failed or heat_get_venv | skipped notify: Restart heat services -- name: CentOS remove python from path first +- name: Remove python from path first (CentOS, openSUSE) file: path: "{{ heat_bin | dirname }}/bin/python2.7" state: "absent" when: - - ansible_pkg_mgr in ['yum', 'dnf'] + - ansible_pkg_mgr in ['yum', 'dnf', 'zypper'] - heat_get_venv | changed - name: Update virtualenv path