tasks: keystone_install: Fix virtualenv-tools issue on openSUSE
This is similar to I8a27bb268ea2e145ed113c652ab7846f6adc3f82 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: I16ea455f8d9336237175e6c43f0b14713cf314d3
This commit is contained in:
parent
b1ab60a350
commit
e4a2f0e4a7
@ -159,12 +159,12 @@
|
||||
- Restart uWSGI
|
||||
- Restart web server
|
||||
|
||||
- name: CentOS remove python from path first
|
||||
- name: Remove python from path first (CentOS, openSUSE)
|
||||
file:
|
||||
path: "{{ keystone_bin | dirname }}/bin/python2.7"
|
||||
state: "absent"
|
||||
when:
|
||||
- ansible_pkg_mgr in ['yum', 'dnf']
|
||||
- ansible_pkg_mgr in ['yum', 'dnf', 'zypper']
|
||||
- keystone_get_venv | changed
|
||||
|
||||
- name: Update virtualenv path
|
||||
|
Loading…
x
Reference in New Issue
Block a user