Allow collectd to access tcp when collectd_graphite is defined too

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2015-06-14 00:16:39 +00:00
parent 2232b59b9a
commit 5f5d52c85b

View file

@ -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