Merge "Replace virtualenv-tools by a script"
This commit is contained in:
commit
9a67e54c55
@ -162,7 +162,6 @@ octavia_requires_pip_packages:
|
|||||||
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
|
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
|
||||||
- shade
|
- shade
|
||||||
- virtualenv
|
- virtualenv
|
||||||
- virtualenv-tools
|
|
||||||
- python-openstackclient
|
- python-openstackclient
|
||||||
|
|
||||||
# Common pip packages
|
# Common pip packages
|
||||||
|
@ -111,11 +111,14 @@
|
|||||||
- octavia_get_venv | changed or octavia_venv_dir | changed
|
- octavia_get_venv | changed or octavia_venv_dir | changed
|
||||||
|
|
||||||
- name: Update virtualenv path
|
- name: Update virtualenv path
|
||||||
command: >
|
shell: |
|
||||||
virtualenv-tools --update-path=auto --reinitialize {{ octavia_bin | dirname }}
|
find {{ octavia_bin }} -name \*.pyc -delete
|
||||||
|
sed -si '1s/^.*python.*$/#!{{ octavia_bin | replace ('/','\/') }}\/python/' {{ octavia_bin }}/*
|
||||||
when:
|
when:
|
||||||
- not octavia_developer_mode | bool
|
- not octavia_developer_mode | bool
|
||||||
- octavia_get_venv | changed or octavia_venv_dir | changed
|
- octavia_get_venv | changed or octavia_venv_dir | 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