tripleo-quickstart-extras/playbooks/quickstart-extras-validate.yml
Juan Antonio Osorio Robles 126ecf535a Only execute UI validations when UI is enabled
One can disable the UI, and the validation will fail if it's not there.

Change-Id: I7a3e317705c95e3ca368eacb376d88c426f72d54
2018-01-04 13:34:03 +00:00

27 lines
725 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 }
# Execute simple TripleO-UI validations
- name: Execute simple TripleO-UI validations
hosts: localhost
tags:
- tripleoui-validate
gather_facts: yes
roles:
- { role: validate-ui, when: validate_ui_simple|bool and undercloud_enable_ui|default(true)|bool }