Set condition to run os_tempest

This will avoid all the tasks under tempest.yml to be executed, since
those are only required when run os_tempest.

Related-Bug: #1911696
Change-Id: If546256da1e79d63c102590884e73db49c59e7ab
This commit is contained in:
Arx Cruz 2021-01-14 17:36:23 +01:00 committed by wes hayutin
parent deef6e9641
commit b2a3632575
6 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,7 @@
vars:
tempest_install_method: distro
tempest_cloud_name: 'overcloud'
when: use_os_tempest | default(true)
environment:
# Disable ssl waarnings
CURL_CA_BUNDLE: ""

View File

@ -106,6 +106,7 @@
tempest_cidr: '192.168.24.0/24'
tasks:
- include_tasks: tasks/tempest.yml
when: use_os_tempest | default(true)
environment:
# Disable ssl warnings
CURL_CA_BUNDLE: ""

View File

@ -68,6 +68,7 @@
- include_tasks: tasks/tempest.yml
when: job is undefined or (job is defined and
job.featureset is defined and job.featureset != '056')
and use_os_tempest | default(true)
environment:
# Disable ssl warnings
CURL_CA_BUNDLE: ""

View File

@ -30,6 +30,7 @@
tempest_cidr: '192.168.24.0/24'
tasks:
- include_tasks: tasks/tempest.yml
when: use_os_tempest | default(true)
environment:
# Disable ssl waarnings
CURL_CA_BUNDLE: ""

View File

@ -58,6 +58,7 @@
tempest_cloud_name: 'standalone'
tasks:
- include_tasks: tasks/tempest.yml
when: use_os_tempest | default(true)
environment:
# Disable ssl warnings
CURL_CA_BUNDLE: ""

View File

@ -25,6 +25,7 @@
vars:
tempest_install_method: distro
tempest_cloud_name: 'overcloud'
when: use_os_tempest | default(true)
environment:
# Disable ssl waarnings
CURL_CA_BUNDLE: ""