Files
tripleo-quickstart-extras/playbooks/multinode-validate.yml
Arx Cruz b2a3632575 Set condition to run os_tempest
This will avoid all the tasks under tempest.yml to be executed, since
those are only required when run os_tempest.

Related-Bug: #1911696
Change-Id: If546256da1e79d63c102590884e73db49c59e7ab
2021-01-14 18:44:50 +00:00

40 lines
1.1 KiB
YAML

---
- 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
# Validate the deployment
- name: validate the overcloud
hosts: undercloud
tags:
- overcloud-validate
- undercloud-validate
gather_facts: false
roles:
- {role: validate-simple, when: test_ping|bool}
- {role: validate-services, when: validate_services|default(false)|bool}
- name: Validate the deployment
hosts: undercloud
# Note(chkumar246): Moved the os_tempest related var at the top
# of play level in order to have scope for the whole of the play
# https://bugs.launchpad.net/tripleo/+bug/1838496
vars:
tempest_install_method: distro
tempest_cloud_name: 'overcloud'
tempest_cidr: '192.168.24.0/24'
tasks:
- include_tasks: tasks/tempest.yml
when: use_os_tempest | default(true)
environment:
# Disable ssl waarnings
CURL_CA_BUNDLE: ""
tags:
- overcloud-validate
- undercloud-validate