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 - collectd
when: collectd_apache is defined 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 seboolean: name=collectd_tcp_network_connect state=yes persistent=yes
tags: tags:
- collectd - collectd
ignore_errors: True ignore_errors: True
notify: notify:
- restart collectd - restart collectd
when: collectd_apache is defined when: collectd_apache is defined or collectd_graphite is defined
- name: enable collectd nfs module - name: enable collectd nfs module
copy: src=nfs.conf dest=/etc/collectd.d/nfs.conf copy: src=nfs.conf dest=/etc/collectd.d/nfs.conf