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 packages that must be installed before anything else
|
||||||
gnocchi_requires_pip_packages:
|
gnocchi_requires_pip_packages:
|
||||||
- virtualenv
|
- virtualenv
|
||||||
- virtualenv-tools
|
|
||||||
- python-keystoneclient # Keystoneclient needed for OSA keystone lib
|
- python-keystoneclient # Keystoneclient needed for OSA keystone lib
|
||||||
- httplib2 # so we can use the uri module
|
- httplib2 # so we can use the uri module
|
||||||
|
|
||||||
|
@ -113,9 +113,12 @@
|
|||||||
- gnocchi_get_venv | changed
|
- gnocchi_get_venv | changed
|
||||||
|
|
||||||
- name: Update virtualenv path
|
- name: Update virtualenv path
|
||||||
command: >
|
shell: |
|
||||||
virtualenv-tools --update-path=auto --reinitialize {{ gnocchi_bin | dirname }}
|
find {{ gnocchi_bin }} -name \*.pyc -delete
|
||||||
|
sed -si '1s/^.*python.*$/#!{{ gnocchi_bin | replace ('/','\/') }}\/python/' {{ gnocchi_bin }}/*
|
||||||
when: gnocchi_get_venv | changed
|
when: gnocchi_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