windmill-config/ansible/group_vars/zuul-web.yaml
Paul Belanger 4775ba346d Add zuul-web nginx configuration
This should allow the zuul dashboard to work.

Change-Id: I53c7ccb861630cfbca19d53193e5a7266b179635
Depends-On: https://review.openstack.org/648849
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-03-31 14:50:03 -04:00

40 lines
1.3 KiB
YAML

# Copyright 2016 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
---
# windmill.zuul
zuul_file_web_logging_conf_manage: true
zuul_file_zuul_web_service_config_manage: true
zuul_file_zuul_web_service_config_src: zuul/etc/systemd/system/zuul-web.service.d/override.conf.j2
zuul_file_zuul_web_service_manage: true
zuul_service_zuul_web_enabled: true
zuul_service_zuul_web_manage: true
zuul_service_zuul_web_state: started
# openstack.logrotate
logrotate_configs:
- name: zuul-web
log: /var/log/zuul/web-debug.log /var/log/zuul/web.log
options:
- compress
- missingok
- rotate 7
- daily
- notifempty
nginx_file_nginx_config:
- dest: /etc/nginx/conf.d/zuul-web.conf
src: "{{ windmill_config_git_dest }}/zuul/etc/nginx/conf.d/zuul-web.conf.j2"