collectd: fix rights for collectd directory
This commit is contained in:
parent
7aa588528c
commit
ced4098192
|
@ -90,6 +90,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
* logsentry: fix variables for configuration files
|
* logsentry: fix variables for configuration files
|
||||||
* nagios-nrpe: fix allowed_hosts configuration: keep potential added IP, but we cannot use backrefs if the line does not exist yet
|
* nagios-nrpe: fix allowed_hosts configuration: keep potential added IP, but we cannot use backrefs if the line does not exist yet
|
||||||
* accounts: configure user home, ssh keys and groups only if it already exists, so that there is no error when run in check mode and user doesn't exist yet
|
* accounts: configure user home, ssh keys and groups only if it already exists, so that there is no error when run in check mode and user doesn't exist yet
|
||||||
|
* collectd: fix rights for collectd directory
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,17 @@
|
||||||
tags:
|
tags:
|
||||||
- collectd
|
- collectd
|
||||||
|
|
||||||
|
- name: "Fix rights for collectd directory"
|
||||||
|
file:
|
||||||
|
path: /usr/local/share/collectd
|
||||||
|
state: directory
|
||||||
|
owner: "root"
|
||||||
|
group: "wheel"
|
||||||
|
mode: "0755"
|
||||||
|
when: collectd_plugin_exec_ifq_drops or collectd_plugin_exec_dns_stats or collectd_plugin_exec_dhcp_pool
|
||||||
|
tags:
|
||||||
|
- collectd
|
||||||
|
|
||||||
- name: "Create scripts directory for exec plugins"
|
- name: "Create scripts directory for exec plugins"
|
||||||
file:
|
file:
|
||||||
path: /usr/local/share/collectd/scripts
|
path: /usr/local/share/collectd/scripts
|
||||||
|
|
Loading…
Reference in a new issue