mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Allow collectd to access tcp when collectd_graphite is defined too
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
@@ -72,14 +72,14 @@
|
||||
- collectd
|
||||
when: collectd_apache is defined
|
||||
|
||||
- name: Let collectd talk to apache over tcp
|
||||
- name: Let collectd talk to things over tcp
|
||||
seboolean: name=collectd_tcp_network_connect state=yes persistent=yes
|
||||
tags:
|
||||
- collectd
|
||||
ignore_errors: True
|
||||
notify:
|
||||
- restart collectd
|
||||
when: collectd_apache is defined
|
||||
when: collectd_apache is defined or collectd_graphite is defined
|
||||
|
||||
- name: enable collectd nfs module
|
||||
copy: src=nfs.conf dest=/etc/collectd.d/nfs.conf
|
||||
|
||||
Reference in New Issue
Block a user