Skip to content

Commit b08c32e

Browse files
committed
Do not enable mariadb-clustercheck when not needed
Closes-Bug: #1944114 Change-Id: Idd525fda7ff94f70794f4c582cd74470c7f40fae (cherry picked from commit 2cf9ae2)
1 parent 5236203 commit b08c32e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ansible/roles/mariadb/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ mariadb_backup_possible: "{{ mariadb_loadbalancer != 'haproxy' or inventory_host
118118
####################
119119
# Clustercheck
120120
####################
121-
enable_mariadb_clustercheck: "yes"
121+
enable_mariadb_clustercheck: "{{ enable_haproxy }}"
122122

123123
####################
124124
# Sharding
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes ``mariadb-clustercheck`` not to run when there is no HAProxy.
5+
`LP#1944114 <https://launchpad.net/bugs/1944114>`__

0 commit comments

Comments
 (0)