Run tempest install when tempest_run is False

We should run tempest installation when tempest_run is false. We shouldn't
run it only when tempest_install is False.

Change-Id: I1a3943fd0ae536b72555ef0f74836f0168ce6a21
This commit is contained in:
Dmitriy Rabotyagov 2020-07-07 19:20:04 +03:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent 3be600185a
commit 8f8eadedd6

View File

@ -31,8 +31,7 @@
- name: End playbook
meta: end_play
when:
- (not (tempest_install | default(false)) | bool) or
(not (tempest_run | default(false)) | bool)
- (not (tempest_install | default(false)) | bool)
roles:
- role: "os_tempest"