Merge "Don't check haproxy if external load-balancer is used."
This commit is contained in:
commit
2f9a76c5a2
|
@ -87,10 +87,16 @@ parameters:
|
|||
\[(?<pid>[^ ]*)\]
|
||||
(?<host>[^ ]*)
|
||||
(?<message>.*)$/
|
||||
|
||||
EnableLoadBalancer:
|
||||
default: true
|
||||
description: Whether to deploy a LoadBalancer on the Controller
|
||||
type: boolean
|
||||
|
||||
PacemakerResources:
|
||||
type: comma_delimited_list
|
||||
description: List of resources managed by pacemaker
|
||||
default: ['rabbitmq','haproxy','galera']
|
||||
default: ['rabbitmq', 'galera']
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
|
@ -147,3 +153,9 @@ outputs:
|
|||
resource: "{{ item }}"
|
||||
max_wait: 500
|
||||
with_items: {get_param: PacemakerResources}
|
||||
- name: Check pacemaker haproxy resource
|
||||
tags: step4
|
||||
pacemaker_is_active:
|
||||
resource: haproxy
|
||||
max_wait: 500
|
||||
when: {get_param: EnableLoadBalancer}
|
||||
|
|
Loading…
Reference in New Issue