tasks: gnocchi_install: Fix virtualenv-tools issue on openSUSE
openSUSE is also suffering from the same virtualenv-tools issue so we need to remove the existing python-2.7 symlink. Link: https://github.com/fireteam/virtualenv-tools/issues/5 Related-Bug: #1637509 Partial-Bug: #1644629 Change-Id: I242684d1f556927bd0967fff8cf8e692f7045a76
This commit is contained in:
parent
986b6d862f
commit
d51d3c7e34
|
@ -104,12 +104,12 @@
|
|||
- Restart gnocchi services
|
||||
- Restart web server
|
||||
|
||||
- name: CentOS remove python from path first
|
||||
- name: Remove python from path first (CentOS, openSUSE)
|
||||
file:
|
||||
path: "{{ gnocchi_bin | dirname }}/bin/python2.7"
|
||||
state: "absent"
|
||||
when:
|
||||
- ansible_pkg_mgr in ['yum', 'dnf']
|
||||
- ansible_pkg_mgr in ['yum', 'dnf', 'zypper']
|
||||
- gnocchi_get_venv | changed
|
||||
|
||||
- name: Update virtualenv path
|
||||
|
|
Loading…
Reference in New Issue