tripleo-quickstart-extras/playbooks/quickstart-extras-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

41 lines
1.1 KiB
YAML

---
# Deploy the overcloud
- name: Deploy the overcloud
hosts: undercloud
gather_facts: true
tags:
- overcloud-deploy
roles:
- overcloud-deploy
- name: Add the overcloud nodes to the generated inventory
hosts: undercloud
gather_facts: true
tags:
- overcloud-deploy
- overcloud-inventory
vars:
inventory: all
roles:
- tripleo-inventory
# Check the results of the deployment, note after inventory has executed
- name: Check the result of the deployment
hosts: undercloud
tags:
- overcloud-deploy
- overcloud-check
tasks:
- 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