tripleo-quickstart-extras/playbooks/quickstart-extras-validate.yml

45 lines
1.0 KiB
YAML

---
# Validate the deployment
- name: setup dstat performance monitoring
hosts: overcloud
tags:
- overcloud-validate
roles:
- {role: validate-perf,
when: validate_performance|bool and run_tempest|bool}
ignore_errors: true
- name: validate the overcloud
hosts: undercloud
tags:
- overcloud-validate
gather_facts: false
roles:
- {role: validate-simple, when: test_ping|bool}
# Execute tempest against the overcloud deployment
- name: Validate the deployment
hosts: undercloud
tasks:
- include_tasks: tasks/tempest.yml
vars:
tempest_install_method: distro
tempest_cloud_name: 'overcloud'
environment:
# Disable ssl waarnings
CURL_CA_BUNDLE: ""
tags:
- overcloud-validate
# Ensure services and containers are OK
- name: Execute simple service and container validations
hosts:
- undercloud
- overcloud
tags:
- overcloud-validate
- undercloud-validate
gather_facts: false
roles:
- {role: validate-services, when: validate_services|default(false)|bool}