diff options
author | Zuul <zuul@review.opendev.org> | 2020-05-06 02:25:44 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-05-06 02:25:44 +0000 |
commit | ccc41e601077e5cdf3a2f0eb68df929b8bbceedd (patch) | |
tree | 3f0124eb53ccb3824fe6bb98f14fd1d6715b8a3c /roles | |
parent | da3bb61f1f40bdd11bd65d66ba1b7019df77453d (diff) | |
parent | 08a40ad12977b041576b2e09c108c75c9a9b84cf (diff) | |
download | tempest-ccc41e601077e5cdf3a2f0eb68df929b8bbceedd.tar.gz |
Merge "Use ensure-pip for stackviz pip install"
Diffstat (limited to 'roles')
-rw-r--r-- | roles/process-stackviz/tasks/main.yaml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/roles/process-stackviz/tasks/main.yaml b/roles/process-stackviz/tasks/main.yaml index 3724e0ec5..e3a0a0e40 100644 --- a/roles/process-stackviz/tasks/main.yaml +++ b/roles/process-stackviz/tasks/main.yaml @@ -17,13 +17,18 @@ when: not subunit_input.stat.exists - name: Install stackviz - pip: - name: "file://{{ stackviz_archive.stat.path }}" - virtualenv: /tmp/stackviz - extra_args: -U when: - stackviz_archive.stat.exists - subunit_input.stat.exists + block: + - include_role: + name: ensure-pip + + - pip: + name: "file://{{ stackviz_archive.stat.path }}" + virtualenv: /tmp/stackviz + virtualenv_command: '{{ ensure_pip_virtualenv_command }}' + extra_args: -U - name: Deploy stackviz static html+js command: cp -pR /tmp/stackviz/share/stackviz-html {{ stage_dir }}/stackviz |