Merge "Replace virtualenv-tools by a script"
This commit is contained in:
commit
ff1d28a2f2
@ -160,7 +160,6 @@ gnocchi_services:
|
||||
#: Gnocchi packages that must be installed before anything else
|
||||
gnocchi_requires_pip_packages:
|
||||
- virtualenv
|
||||
- virtualenv-tools
|
||||
- python-keystoneclient # Keystoneclient needed for OSA keystone lib
|
||||
- httplib2 # so we can use the uri module
|
||||
|
||||
|
@ -113,9 +113,12 @@
|
||||
- gnocchi_get_venv | changed
|
||||
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ gnocchi_bin | dirname }}
|
||||
shell: |
|
||||
find {{ gnocchi_bin }} -name \*.pyc -delete
|
||||
sed -si '1s/^.*python.*$/#!{{ gnocchi_bin | replace ('/','\/') }}\/python/' {{ gnocchi_bin }}/*
|
||||
when: gnocchi_get_venv | changed
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Record the venv tag deployed
|
||||
ini_file:
|
||||
|
Loading…
Reference in New Issue
Block a user