Paul Belanger 79aec371c1 Drop project-config support
The most I started thinking about this, the more it should be in an
external project.  We've exposed everything the user needs to override
the default settings and reload zuul.

Change-Id: I3b7c08f1511100ccbf50ba1eb8fd7dd220c9eab4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-12-16 17:09:34 -05:00

78 lines
2.6 KiB
YAML

# Copyright 2015 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.
---
# tasks/config.yaml
zuul_user_name: zuul
zuul_user_group: "{{ zuul_user_name }}"
zuul_user_home: "/var/lib/{{ zuul_user_name }}"
zuul_file_layout_yaml_dest: /etc/zuul/layout.yaml
zuul_file_layout_yaml_group: "{{ zuul_user_name }}"
zuul_file_layout_yaml_mode: "0644"
zuul_file_layout_yaml_owner: "{{ zuul_user_group }}"
zuul_file_layout_yaml_src: etc/zuul/layout.yaml
zuul_config_gearman_port: 4730
zuul_config_gearman_server: 127.0.0.1
zuul_config_gearman_server_start: true
zuul_config_gearman_server_listen_address: 127.0.0.1
zuul_config_gearman_server_log_config: /etc/zuul/gearman-logging.conf
zuul_config_gerrit_port: 29418
zuul_config_gerrit_server: 127.0.0.1
zuul_config_gerrit_sshkey: "{{ zuul_user_home }}/.ssh/id_rsa"
zuul_config_gerrit_user: zuul
zuul_config_merger_git_dir: "{{ zuul_user_home }}/git"
zuul_config_merger_git_user_email: ""
zuul_config_merger_git_user_name: ""
zuul_config_merger_log_config: /etc/zuul/merger-logging.conf
zuul_config_merger_zuul_url: 127.0.0.1
zuul_config_zuul_layout_config: "{{ zuul_file_layout_yaml_dest }}"
zuul_config_zuul_log_config: /etc/zuul/server-logging.conf
zuul_config_zuul_state_dir: "{{ zuul_user_home }}"
zuul_file_gearman_logging_conf: etc/zuul/gearman-logging.conf
zuul_file_merger_logging_conf: etc/zuul/merger-logging.conf
zuul_file_server_logging_conf: etc/zuul/server-logging.conf
zuul_template_zuul_conf_dest: /etc/zuul/zuul.conf
zuul_template_zuul_conf_src: etc/zuul/zuul.conf.j2
# tasks/install.yaml
zuul_git_dest: /opt/ansible-role-zuul/git/openstack-infra/zuul
zuul_git_uri: https://git.openstack.org/openstack-infra/zuul
zuul_git_version: master
zuul_install_method: git
zuul_pip_version:
# tasks/service.yaml
zuul_file_zuul_merger_service_group: root
zuul_file_zuul_merger_service_owner: root
zuul_file_zuul_server_service_group: root
zuul_file_zuul_server_service_owner: root
zuul_service_zuul_merger_enabled: yes
zuul_service_zuul_merger_name: zuul-merger
zuul_service_zuul_merger_state: started
zuul_service_zuul_server_enabled: yes
zuul_service_zuul_server_name: zuul-server
zuul_service_zuul_server_state: started