r/collectd: Manage collectd.d directory

The `/etc/collectd.d` directory is created by the RPM package on
machines running a Red Hat-based Linux distribution, but it may not
always be present on other machines.
This commit is contained in:
2022-06-28 09:42:22 -05:00
parent a357b5dc08
commit ad96dc2757

View File

@@ -23,6 +23,14 @@
tags: tags:
- collectd-config - collectd-config
- name: ensure collectd config drop-in directory exists
file:
path: /etc/collectd.d
mode: u=rwx,go=rx
state: directory
tags:
- collectd-config
- name: ensure collectd directory exists - name: ensure collectd directory exists
file: file:
path: /etc/collectd path: /etc/collectd