Toggle sebool and fix missing Instance tag to collectd-apache working

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2015-05-25 19:28:08 +00:00
parent d71815ba53
commit 9b3821d1b9
2 changed files with 10 additions and 0 deletions

View file

@ -1,6 +1,8 @@
LoadPlugin apache
<Plugin apache>
<Instance "apache">
URL "http://localhost/apache-status?auto"
</Instance>
</Plugin>

View file

@ -56,6 +56,14 @@
- restart collectd
when: collectd_apache is defined
- name: Let collectd talk to apache 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
# Three tasks for handling our (two) custom selinux modules.
- name: ensure a directory exists for our custom selinux module