From 4a2bda00ca60530e312587a1610d258f86b497c5 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 11 Mar 2024 17:39:18 +0000 Subject: [PATCH] Disable mod_evasive for prometheus --- roles/prometheus.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/prometheus.rb b/roles/prometheus.rb index 4ffc2dcbe..8828a40e5 100644 --- a/roles/prometheus.rb +++ b/roles/prometheus.rb @@ -1,6 +1,12 @@ name "prometheus" description "Role applied to all prometheus servers" +default_attributes( + :apache => { + :evasive => false + } +) + run_list( "recipe[awscli]", "recipe[prometheus::server]", -- 2.39.5