Do not enable mariadb-clustercheck when not needed

Closes-Bug: #1944114
Change-Id: Idd525fda7ff94f70794f4c582cd74470c7f40fae
This commit is contained in:
Radosław Piliszek 2021-09-20 09:58:56 +00:00
parent 3455105321
commit 2cf9ae2cf5
2 changed files with 6 additions and 1 deletions

View File

@ -118,7 +118,7 @@ mariadb_backup_possible: "{{ mariadb_loadbalancer != 'haproxy' or inventory_host
####################
# Clustercheck
####################
enable_mariadb_clustercheck: "yes"
enable_mariadb_clustercheck: "{{ enable_haproxy }}"
####################
# Sharding

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes ``mariadb-clustercheck`` not to run when there is no HAProxy.
`LP#1944114 <https://launchpad.net/bugs/1944114>`__