collectd: fix rights for collectd directory
This commit is contained in:
parent
7aa588528c
commit
ced4098192
2 changed files with 12 additions and 0 deletions
|
@ -90,6 +90,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
* 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
|
||||
* 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
|
||||
|
||||
|
|
|
@ -22,6 +22,17 @@
|
|||
tags:
|
||||
- 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"
|
||||
file:
|
||||
path: /usr/local/share/collectd/scripts
|
||||
|
|
Loading…
Reference in a new issue