Merge "Replace virtualenv-tools by a script"
This commit is contained in:
commit
fdee86037a
|
@ -115,7 +115,6 @@ zaqar_unreliable: true
|
|||
# zaqar packages that must be installed before anything else
|
||||
zaqar_requires_pip_packages:
|
||||
- virtualenv
|
||||
- virtualenv-tools
|
||||
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
|
||||
|
||||
# Common pip packages
|
||||
|
|
|
@ -133,9 +133,11 @@
|
|||
- zaqar-pip-packages
|
||||
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ zaqar_bin | dirname }}
|
||||
shell: |
|
||||
find {{ zaqar_bin }} -name \*.pyc -delete
|
||||
sed -si '1s/^.*python.*$/#!{{ zaqar_bin | replace ('/','\/') }}\/python/' {{ zaqar_bin }}/*
|
||||
when: zaqar_get_venv | changed
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
- zaqar-install
|
||||
- zaqar-pip-packages
|
||||
|
|
Loading…
Reference in New Issue