Merge "Fix virtualenv-tools issue"
This commit is contained in:
commit
6b29de939c
@ -117,6 +117,15 @@
|
||||
delay: 2
|
||||
when: horizon_optional_pip_packages | length > 0
|
||||
|
||||
- name: CentOS remove python from path first
|
||||
file:
|
||||
path: "{{ horizon_bin | dirname }}/bin/python2.7"
|
||||
state: "absent"
|
||||
when:
|
||||
- ansible_pkg_mgr == 'yum'
|
||||
- not horizon_developer_mode | bool
|
||||
- horizon_get_venv | changed or horizon_venv_dir | changed
|
||||
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ horizon_bin | dirname }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user