tripleo-quickstart-extras/playbooks/quickstart-extras-validate.yml
yatinkarel 858d532fee Fix dstat setup in jobs
It fails as run_tempest is not defined, now we should
use use_os_tempest instead.

Change-Id: I62358ebaa2792642265db17164bee5a620ef10b1
2022-04-18 14:56:19 +05:30

46 lines
1.1 KiB
YAML

---
# Validate the deployment
- name: setup dstat performance monitoring
hosts: overcloud
tags:
- overcloud-validate
roles:
- {role: validate-perf,
when: validate_performance|bool and use_os_tempest | default(true) | 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'
when: use_os_tempest | default(true)
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}