diff --git a/roles/copr/frontend/tasks/main.yml b/roles/copr/frontend/tasks/main.yml index 61c3a3fd03..de8b7aa8bc 100644 --- a/roles/copr/frontend/tasks/main.yml +++ b/roles/copr/frontend/tasks/main.yml @@ -18,6 +18,9 @@ tags: - config +- name: enable and start redis # TODO: .service in copr-backend should depend on redis + service: name=redis enabled=yes state=started + - name: copy apache files to conf.d copy: src="httpd/{{ item }}" dest="/etc/httpd/conf.d/{{ item }}" with_items: diff --git a/roles/copr/frontend/templates/copr.conf b/roles/copr/frontend/templates/copr.conf index 3792039c3a..c9f0e1e742 100644 --- a/roles/copr/frontend/templates/copr.conf +++ b/roles/copr/frontend/templates/copr.conf @@ -36,3 +36,6 @@ SEND_EMAILS = True PUBLIC_COPR_HOSTNAME = "{{ copr_frontend_public_hostname }}" LOG_FILENAME = "/var/log/copr/frontend.log" + +# to accept stat events from logstash +INTRANET_IPS = ["127.0.0.1", "172.16.5.0/24"]