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:
parent
e04c03e6a6
commit
8f182ff510
2 changed files with 4 additions and 2 deletions
2
roles/apache/defaults/main.yml
Normal file
2
roles/apache/defaults/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
collectd_apache: true
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue