Enable mod_status on openQA server boxes

This should stop collectd generating tons of 404 requests.
This commit is contained in:
Adam Williamson 2017-03-14 12:06:07 -07:00
parent 4c6b4fed47
commit 3fcfa93fc4

View file

@ -35,9 +35,9 @@
## FIXME: this only works for pgsql ATM
# - deployment_type
## string - Fedora Infrastructure thing; for this role, decides
## whether to monkeypatch the repo URLs in the templates
## to work inside Fedora infrastructure. Don't set it
## unless your deployment is running in Fedora infra.
## whether to enable some openQA plugins and an Apache
## module that should be enabled only in Fedora infra.
## Don't set it on deployments outside Fedora infra.
#
# If openqa_dbhost is set, the others must be too, and the server will be
# configured to use a pgsql database accordingly. If openqa_dbhost is not
@ -178,6 +178,14 @@
tags:
- config
- name: Enable mod_status (for Fedora infrastructure)
template: src="{{ files }}/httpd/apachestatus.conf" dest=/etc/httpd/conf.d/apachestatus.conf
when: deployment_type is defined
notify:
- reload httpd
tags:
- config
- name: OpenQA config
template: src=openqa.ini.j2 dest=/etc/openqa/openqa.ini owner=geekotest group=root mode=0644
tags: