be59e5230b
The workflow of - configure_tempest is only defined twice and used in an important condition but it is not really used anywhere; the variable which is around is tempest_config. Use tempest_config properly, remove then configure_tempest; - execute validate-tempest also when tempest_config is true, not only when run_tempest is true; - execute the post-tempest task only if run_tempest is true; no need to execute it if tempest was simply configured. Change-Id: I84dce8ff4ebb1df2163b1de6279b35e564efea5b
18 lines
453 B
YAML
18 lines
453 B
YAML
# Validate the deployment
|
|
- name: validate the overcloud
|
|
hosts: undercloud
|
|
tags:
|
|
- overcloud-validate
|
|
gather_facts: no
|
|
roles:
|
|
- { role: validate-simple, when: test_ping|bool }
|
|
|
|
# Execute tempest against the overcloud deployment
|
|
- name: Execute tempest against the overcloud
|
|
hosts: undercloud
|
|
tags:
|
|
- overcloud-validate
|
|
gather_facts: no
|
|
roles:
|
|
- { role: validate-tempest, when: tempest_config|bool or run_tempest|bool }
|