Test defining collectd_apache in the apache role. Temporarily limit the effect of this variable to stg to avoid needing a freeze break until I test it.

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2015-05-25 04:22:52 +00:00
parent e04c03e6a6
commit 8f182ff510
2 changed files with 4 additions and 2 deletions

View file

@ -0,0 +1,2 @@
---
collectd_apache: true

View file

@ -46,7 +46,7 @@
- collectd
notify:
- restart collectd
when: collectd_apache is defined
when: collectd_apache is defined && env == 'staging'
- name: /etc/collectd/apache.conf
copy: src=apache.conf dest=/etc/collectd.d/apache.conf
@ -54,7 +54,7 @@
- collectd
notify:
- restart collectd
when: collectd_apache is defined
when: collectd_apache is defined && env == 'staging'
# Three tasks for handling our (two) custom selinux modules.