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.
btop
Dustin 2022-06-28 09:43:18 -05:00
parent ad96dc2757
commit 8f90d802f4
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
- role: collectd
tags:
- collectd
- hosts: collectd:&RedHat
roles:
- role: collectd-version
tags:
- collectd-version