From 8f90d802f4fb0039735f983e3c38a0cb2cc870be 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 2cd8baa..a79c59b 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