diff --git a/tasks/aodh_install.yml b/tasks/aodh_install.yml index 0577d9d..29430eb 100644 --- a/tasks/aodh_install.yml +++ b/tasks/aodh_install.yml @@ -114,12 +114,12 @@ when: aodh_get_venv | failed or aodh_get_venv | skipped notify: Restart aodh services -- name: CentOS remove python from path first +- name: Remove python from path first (CentOS, openSUSE) file: path: "{{ aodh_bin | dirname }}/bin/python2.7" state: "absent" when: - - ansible_pkg_mgr in ['yum', 'dnf'] + - ansible_pkg_mgr in ['yum', 'dnf', 'zypper'] - aodh_get_venv | changed - name: Update virtualenv path