Merge "Replace virtualenv-tools by a script"
This commit is contained in:
commit
b9014132d5
@ -148,7 +148,6 @@ sahara_service_in_ldap: False
|
|||||||
# Sahara packages that must be installed before anything else
|
# Sahara packages that must be installed before anything else
|
||||||
sahara_requires_pip_packages:
|
sahara_requires_pip_packages:
|
||||||
- virtualenv
|
- virtualenv
|
||||||
- virtualenv-tools
|
|
||||||
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
|
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
|
||||||
- httplib2
|
- httplib2
|
||||||
|
|
||||||
|
@ -111,9 +111,12 @@
|
|||||||
- sahara_get_venv | changed
|
- sahara_get_venv | changed
|
||||||
|
|
||||||
- name: Update virtualenv path
|
- name: Update virtualenv path
|
||||||
command: >
|
shell: |
|
||||||
virtualenv-tools --update-path=auto --reinitialize {{ sahara_bin | dirname }}
|
find {{ sahara_bin }} -name \*.pyc -delete
|
||||||
|
sed -si '1s/^.*python.*$/#!{{ sahara_bin | replace ('/','\/') }}\/python/' {{ sahara_bin }}/*
|
||||||
when: sahara_get_venv | changed
|
when: sahara_get_venv | changed
|
||||||
|
tags:
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
||||||
- name: Record the venv tag deployed
|
- name: Record the venv tag deployed
|
||||||
ini_file:
|
ini_file:
|
||||||
|
Loading…
Reference in New Issue
Block a user