From fd8662d6f0da619424508c9d8eafbfc39dc72a1f Mon Sep 17 00:00:00 2001 From: phil Date: Tue, 7 Feb 2023 19:52:29 +0100 Subject: [PATCH] Remove unused Monit configuration snippet We don't use it in this general role --- templates/monit.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/templates/monit.conf b/templates/monit.conf index d8cd644..5b80144 100644 --- a/templates/monit.conf +++ b/templates/monit.conf @@ -2,11 +2,7 @@ check process mariadb with pidfile /run/mysqld/mysqld.pid group database start program = "/usr/sbin/service mysql start" stop program = "/usr/sbin/service mysql stop" -{% if inventory_hostname == "orwell" %} - if failed host 127.0.0.1 -{% else %} if failed host {{ mariadb.bind_address|default( ansible_default_ipv4.address ) }} -{% endif %} port 3306 protocol mysql username "{{ monit_sql_user }}" password "{{ monit_sql_password }}" with timeout 15 seconds for 3 times within 4 cycles then restart