Merge "Fix virtualenv-tools issue"
This commit is contained in:
commit
24666b006c
@ -126,6 +126,15 @@
|
|||||||
when: cinder_developer_mode | bool
|
when: cinder_developer_mode | bool
|
||||||
notify: Restart cinder services
|
notify: Restart cinder services
|
||||||
|
|
||||||
|
- name: CentOS remove python from path first
|
||||||
|
file:
|
||||||
|
path: "{{ cinder_bin | dirname }}/bin/python2.7"
|
||||||
|
state: "absent"
|
||||||
|
when:
|
||||||
|
- ansible_pkg_mgr == 'yum'
|
||||||
|
- not cinder_developer_mode | bool
|
||||||
|
- cinder_get_venv | changed or cinder_venv_dir | changed
|
||||||
|
|
||||||
- name: Update virtualenv path
|
- name: Update virtualenv path
|
||||||
command: >
|
command: >
|
||||||
virtualenv-tools --update-path=auto --reinitialize {{ cinder_bin | dirname }}
|
virtualenv-tools --update-path=auto --reinitialize {{ cinder_bin | dirname }}
|
||||||
|
Loading…
Reference in New Issue
Block a user