Merge "Replace virtualenv-tools by a script"
This commit is contained in:
commit
7765dd2adb
|
@ -93,7 +93,6 @@ watcher_keystone_auth_plugin: password
|
|||
# watcher packages that must be installed before anything else
|
||||
watcher_requires_pip_packages:
|
||||
- virtualenv
|
||||
- virtualenv-tools
|
||||
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
|
||||
- httplib2
|
||||
|
||||
|
|
|
@ -94,6 +94,9 @@
|
|||
notify: Restart watcher services
|
||||
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ watcher_bin | dirname }}
|
||||
shell: |
|
||||
find {{ watcher_bin }} -name \*.pyc -delete
|
||||
sed -si '1s/^.*python.*$/#!{{ watcher_bin | replace ('/','\/') }}\/python/' {{ watcher_bin }}/*
|
||||
when: watcher_get_venv | changed
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
|
Loading…
Reference in New Issue