Files
tripleo-quickstart-extras/playbooks/baremetal-full-overcloud.yml
Ronelle Landy f79d80c9f6 Integrate Validate-HA work into OVB jobs
- Split baremetal-undercloud playbook
- Integrate the pieces into baremetal-full-deploy
- Add feature set file to a separate tq review
- Use ovb-common settings for downstream tests
- Add missing tags for consistent usage

Depends-On: I860f257d7b8fcaf7b935575eab22d211f4da39b5
Change-Id: I7743927f71b5f8a7f616ccd11910e9a91bb726fb
2018-08-03 18:40:12 +02:00

45 lines
1.1 KiB
YAML

---
- name: Deploy the overcloud
hosts: undercloud
gather_facts: no
roles:
- overcloud-deploy
tags:
- overcloud-deploy
# Add the overcloud nodes to the generated inventory.
- name: Inventory the overcloud
hosts: undercloud
gather_facts: yes
tags:
- overcloud-deploy
vars:
inventory: all
roles:
- tripleo-inventory
- name: Check the result of the deployment
hosts: localhost
tags:
- overcloud-deploy
tasks:
- name: ensure the deployment result has been read into memory
include_vars: "{{ local_working_dir }}/overcloud_deployment_result.json"
# overcloud_deploy_result = ["failed", "passed"]
- name: did the deployment pass or fail?
debug: var=overcloud_deploy_result
failed_when: overcloud_deploy_result == "failed"
- name: Run tripleo-validations post-deployment tests
hosts: undercloud
gather_facts: no
tags:
- tripleo-validations
vars:
validations_group: ['post-deployment']
roles:
- { role: tripleo-validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}