From dff2ce07547cd0f582dc6b3c68e9459be68cf33e Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 28 Jun 2022 09:43:18 -0500 Subject: [PATCH] collectd: Only install collectd-version on Red Hat Although the `collectd-version` script is fairly generic and *should* work for most Linux distributions, it cannot be installed on machines that a have an immutable root filesystem, e.g. Buildroot-based systems. For Buildroot-based systems in particular, tracking the OS version makes very little sense anyway. If we do end up with hosts running an OS besides either Fedora or Buildroot, we can re-evaluate how to deploy this feature. --- collectd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/collectd.yml b/collectd.yml index 102a389..ebb52cf 100644 --- a/collectd.yml +++ b/collectd.yml @@ -3,6 +3,9 @@ - role: collectd tags: - collectd + +- hosts: collectd:&RedHat + roles: - role: collectd-version tags: - collectd-version