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