Merge "Replace virtualenv-tools by a script" into stable/queens

This commit is contained in:
Zuul 2018-02-16 16:16:28 +00:00 committed by Gerrit Code Review
commit 6cd21b625d
2 changed files with 6 additions and 3 deletions

View File

@ -196,7 +196,6 @@ trove_requires_pip_packages:
- python-glanceclient
- python-keystoneclient
- virtualenv
- virtualenv-tools
- shade
- futures

View File

@ -122,9 +122,13 @@
- trove_get_venv | changed
- name: Update virtualenv path
command: >
virtualenv-tools --update-path=auto --reinitialize {{ trove_bin | dirname }}
shell: |
find {{ trove_bin }} -name \*.pyc -delete
sed -si '1s/^.*python.*$/#!{{ trove_bin | replace ('/','\/') }}\/python/' {{ trove_bin }}/*
virtualenv {{ trove_bin | dirname }}
when: trove_get_venv | changed
tags:
- skip_ansible_lint
- name: Record the venv tag deployed
ini_file: