Merge "Replace virtualenv-tools by a script"
This commit is contained in:
commit
7de2fbfb2e
@ -49,7 +49,6 @@ rally_database_connection_string: mysql+pymysql://{{ rally_galera_user }}:{{ ral
|
||||
# Packages that must be installed before anything else
|
||||
rally_requires_pip_packages:
|
||||
- virtualenv
|
||||
- virtualenv-tools
|
||||
|
||||
rally_pip_packages:
|
||||
- setuptools
|
||||
|
@ -105,9 +105,12 @@
|
||||
- rally_get_venv | changed
|
||||
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ rally_bin | dirname }}
|
||||
shell: |
|
||||
find {{ rally_bin }} -name \*.pyc -delete
|
||||
sed -si '1s/^.*python.*$/#!{{ rally_bin | replace ('/','\/') }}\/python/' {{ rally_bin }}/*
|
||||
when: rally_get_venv | changed
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Record the venv tag deployed
|
||||
ini_file:
|
||||
|
Loading…
Reference in New Issue
Block a user