Execute ping test role at the end of the upgrade

Validate that the upgrade is working by running the ping
test when the upgrade role is finished and successful

Change-Id: Ie2de9ae28dadb8bf1a1af28e7650164f92aba945
This commit is contained in:
Mathieu Bultel 2016-12-12 15:35:53 +01:00 committed by Attila Darazs
parent b8f81468e4
commit c5d58150dd
2 changed files with 18 additions and 0 deletions

View File

@ -7,3 +7,12 @@
gather_facts: no
roles:
- { role: overcloud-upgrade, deployment_type: baremetal }
# Validate the deployment
- name: validate the overcloud
hosts: undercloud
tags:
- overcloud-validate
gather_facts: no
roles:
- { role: validate-simple, when: test_ping|bool }

View File

@ -7,3 +7,12 @@
gather_facts: no
roles:
- overcloud-upgrade
# Validate the deployment
- name: validate the overcloud
hosts: undercloud
tags:
- overcloud-validate
gather_facts: no
roles:
- { role: validate-simple, when: test_ping|bool }