From 81b59123a89ed803121dfd956cf857cd0c45a883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Thu, 3 Jul 2025 11:27:25 +0200 Subject: [PATCH] RabbitMQ: disable useless collectd plugins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/collectd/rabbitmq/tasks/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/roles/collectd/rabbitmq/tasks/main.yml b/roles/collectd/rabbitmq/tasks/main.yml index 9f9c0a1f66..4dfa80e385 100644 --- a/roles/collectd/rabbitmq/tasks/main.yml +++ b/roles/collectd/rabbitmq/tasks/main.yml @@ -31,3 +31,16 @@ seboolean: name=collectd_tcp_network_connect state=yes persistent=yes tags: - collectd + notify: Restart collectd + +- name: Remove the useless collectd plugins + ansible.builtin.file: + path: /etc/collectd.d/{{item}}.conf + state: absent + with_items: + - apache + - rrdtool + tags: + - collectd + - config + notify: Restart collectd