Merge "Fix haproxy deploy for external mariadb cluster"
This commit is contained in:
commit
adb2bdec56
@ -24,7 +24,7 @@ mariadb_services:
|
|||||||
- "option mysql-check user haproxy post-41"
|
- "option mysql-check user haproxy post-41"
|
||||||
custom_member_list: "{{ internal_haproxy_members.split(';') }}"
|
custom_member_list: "{{ internal_haproxy_members.split(';') }}"
|
||||||
mariadb_external_lb:
|
mariadb_external_lb:
|
||||||
enabled: "{{ enable_mariadb|bool and enable_external_mariadb_load_balancer|bool }}"
|
enabled: "{{ enable_external_mariadb_load_balancer|bool }}"
|
||||||
mode: "tcp"
|
mode: "tcp"
|
||||||
port: "{{ database_port }}"
|
port: "{{ database_port }}"
|
||||||
listen_port: "{{ mariadb_port }}"
|
listen_port: "{{ mariadb_port }}"
|
||||||
|
@ -240,7 +240,7 @@
|
|||||||
role: mariadb
|
role: mariadb
|
||||||
tasks_from: loadbalancer
|
tasks_from: loadbalancer
|
||||||
tags: mariadb
|
tags: mariadb
|
||||||
when: enable_mariadb | bool
|
when: enable_mariadb | bool or enable_external_mariadb_load_balancer | bool
|
||||||
- include_role:
|
- include_role:
|
||||||
role: masakari
|
role: masakari
|
||||||
tasks_from: loadbalancer
|
tasks_from: loadbalancer
|
||||||
|
Loading…
Reference in New Issue
Block a user