Files
tripleo-quickstart-extras/roles/validate-tempest/tasks/main.yml
Luigi Toscano be59e5230b validate-tempest: fixes in the configuration-only workflow
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
2017-07-13 11:02:03 +00:00

27 lines
498 B
YAML

---
- include: undercloud-config.yml
when: tempest_undercloud|bool
tags:
- tempest-undercloud-config
- include: pre-tempest.yml
when: tempest_config|bool or run_tempest|bool
tags:
- pre-tempest-config
- include: run-tempest.yml
when: run_tempest|bool
tags:
- run-tempest
- include: stackviz.yml
when: run_tempest|bool
tags:
- run-stackviz
ignore_errors: yes
- include: post-tempest.yml
when: post_tempest|bool and run_tempest|bool
tags:
- post-tempest