Skip to content

Commit

Permalink
tasks: neutron_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: I49beaf3f686adf02b156cb3d1d51ca7aebab6f6f
  • Loading branch information
Markos Chandras committed Aug 15, 2017
1 parent a5357ec commit 23b9b6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/neutron_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@
when: neutron_get_venv | failed or neutron_get_venv | skipped
notify: Restart neutron services

- name: CentOS remove python from path first
- name: Remove python from path first (CentOS, openSUSE)
file:
path: "{{ neutron_bin | dirname }}/bin/python2.7"
state: "absent"
when:
- ansible_pkg_mgr == 'yum'
- ansible_pkg_mgr in ['yum', 'zypper']
- neutron_get_venv | changed

- name: Update virtualenv path
Expand Down

0 comments on commit 23b9b6a

Please # to comment.