Merge "Replace virtualenv-tools by a script"

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

View File

@ -519,7 +519,6 @@ nova_novnc_pip_packages:
# nova packages that must be installed before anything else
nova_requires_pip_packages:
- virtualenv
- virtualenv-tools
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- httplib2
- python-openstackclient

View File

@ -157,11 +157,13 @@
- nova_get_venv | changed
- name: Update virtualenv path
command: >
virtualenv-tools --update-path=auto --reinitialize {{ nova_bin | dirname }}
shell: |
find {{ nova_bin }} -name \*.pyc -delete
sed -si '1s/^.*python.*$/#!{{ nova_bin | replace ('/','\/') }}\/python/' {{ nova_bin }}/*
when:
- nova_get_venv | changed
tags:
- skip_ansible_lint
- nova-pip-packages
- include: "consoles/nova_console_{{ nova_console_type }}_install.yml"