tasks: horizon_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: Ie3f4355eb53db563aaf5fa71d1ea9fb2ee5cfe32
This commit is contained in:
parent
05781db933
commit
91171e2be8
@ -142,12 +142,12 @@
|
||||
delay: 2
|
||||
when: horizon_optional_pip_packages | length > 0
|
||||
|
||||
- name: CentOS remove python from path first
|
||||
- name: Remove python from path first (CentOS, openSUSE)
|
||||
file:
|
||||
path: "{{ horizon_bin | dirname }}/bin/python2.7"
|
||||
state: "absent"
|
||||
when:
|
||||
- ansible_pkg_mgr in ['yum', 'dnf']
|
||||
- ansible_pkg_mgr in ['yum', 'dnf', 'zypper']
|
||||
- horizon_get_venv | changed
|
||||
|
||||
- name: Update virtualenv path
|
||||
|
Loading…
Reference in New Issue
Block a user