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.btop
parent
a357b5dc08
commit
ad96dc2757
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue