tripleo-quickstart-extras/playbooks/baremetal-full-overcloud.yml
matbu 7a5ed70cf8 Remove legacy tripleo-validations roles calls
This patch remove useless tripleo-validations calls in the
tripleo-quickstart-extras playbook.
Only validations and standalone is used for now in CI.

The other implementations was legacy implementation that is not
used anymore in CI

Change-Id: I2ef1f06007c646ef4307c0cc0b6f60af414f9234
2021-04-12 12:24:41 +02:00

23 lines
762 B
YAML

---
- name: Deploy the overcloud
hosts: undercloud
gather_facts: false
tasks:
- name: Deploy the overcloud
include_role:
name: overcloud-deploy
tags:
- overcloud-deploy
- name: Check the overcloud_deployment_result.json if this is CI job
tags:
- overcloud-deploy
block:
- name: ensure the deployment result has been read into memory
include_vars: "{{ local_working_dir }}/overcloud_deployment_result.json"
delegate_to: localhost
# overcloud_deploy_result = ["failed", "passed"]
- name: did the deployment pass or fail?
debug: var=overcloud_deploy_result
failed_when: overcloud_deploy_result == "failed"
delegate_to: localhost