Merge "Upgrades: wait for galera to be settled"

This commit is contained in:
Jenkins 2017-03-13 12:20:20 +00:00 committed by Gerrit Code Review
commit b69a73ba85
1 changed files with 4 additions and 2 deletions

View File

@ -90,7 +90,7 @@ parameters:
PacemakerResources:
type: comma_delimited_list
description: List of resources managed by pacemaker
default: ['rabbitmq','haproxy']
default: ['rabbitmq','haproxy','galera']
outputs:
role_data:
@ -143,5 +143,7 @@ outputs:
pacemaker_cluster: state=online
- name: Check pacemaker resource
tags: step4
pacemaker_resource: state=started resource={{item}} check_mode=true wait_for_resource=true timeout=500
pacemaker_is_active:
resource: "{{ item }}"
max_wait: 500
with_items: {get_param: PacemakerResources}