Merge "Replace virtualenv-tools by a script"

This commit is contained in:
Zuul 2018-01-16 12:58:27 +00:00 committed by Gerrit Code Review
commit 7de2fbfb2e
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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: