Skip to content

Commit

Permalink
tasks: horizon_install: Fix virtualenv-tools issue on openSUSE
Browse files Browse the repository at this point in the history
openSUSE is also suffering from the same virtualenv-tools issue so
we need to remove the existing python-2.7 symlink.

Link: fireteam/virtualenv-tools#5
Related-Bug: #1637509
Partial-Bug: #1644629
Change-Id: Ie3f4355eb53db563aaf5fa71d1ea9fb2ee5cfe32
(cherry picked from commit 91171e2)
  • Loading branch information
Markos Chandras committed Aug 18, 2017
1 parent 7151b5a commit c7e1c7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/horizon_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7e1c7c

Please # to comment.