Ansible role to manage Zuul
Go to file
Adam Gandelman 747f3ba540 Migrate config installation from copy -> template
This migrates installation of config files from using 'copy' to 'template',
allowing downstream users of the role the ability to carry a template in their
playbooks and have it easily rendered out simply by overriding the
zuul_file_*_dest variables.

Note, this omits layout.yaml for the time being

Depends-on: I32cc11901bddd03125e1c4ce6f246d811f414cba

Change-Id: I9f5890a54ded2b0169aa76501828e7856e0d6583
2016-10-18 14:16:10 -07:00
defaults Remove unneeded quotes 2016-09-05 11:57:02 -04:00
doc/source Import ansible-role-zuul into OpenStack workflow 2015-11-24 11:38:17 -05:00
files/etc Migrate config installation from copy -> template 2016-10-18 14:16:10 -07:00
handlers Register the results of file changes 2016-10-04 13:24:23 -04:00
meta Set min_ansible_version to 2.0 2016-04-16 08:35:21 -04:00
tasks Migrate config installation from copy -> template 2016-10-18 14:16:10 -07:00
templates/etc/zuul Migrate config installation from copy -> template 2016-10-18 14:16:10 -07:00
tests Register the results of file changes 2016-10-04 13:24:23 -04:00
vars Add missing build-esential dependency for debian 2016-10-14 10:55:00 -04:00
.gitignore Import ansible-role-zuul into OpenStack workflow 2015-11-24 11:38:17 -05:00
.gitreview Import ansible-role-zuul into OpenStack workflow 2015-11-24 11:38:17 -05:00
bindep.txt Fix ansible dependencys for bindep 2016-10-01 09:37:54 -04:00
LICENSE Initial commit 2015-09-10 16:50:05 -04:00
README.rst Remove epel-release / python-pip from role 2016-08-27 18:15:57 -04:00
requirements.txt Add ansible 2.0 support 2016-01-28 18:15:19 +00:00
setup.cfg Import ansible-role-zuul into OpenStack workflow 2015-11-24 11:38:17 -05:00
setup.py Import ansible-role-zuul into OpenStack workflow 2015-11-24 11:38:17 -05:00
test-requirements.txt Import ansible-role-zuul into OpenStack workflow 2015-11-24 11:38:17 -05:00
tox.ini Move all lints tests to consolidated 'linters' tox environment 2016-02-08 16:33:59 +00:00

ansible-role-zuul

Ansible role to manage Zuul

Description

Zuul is a program that is used to gate the source code repository of a project so that changes are only merged if they pass tests.

Requirements

See bindep.txt for role dependencies.

Packages

Package repository index files should be up to date before using this role, we do not manage them.

SSH

An SSH private key will need to be installed before you can use zuul. The contents of the private key will be used by zuul_config_gerrit_user and should be copied to zuul_config_gerrit_sshkey.

Role Variables

# Method used to install zuul. Valid values are git and pip.
# Default: git
zuul_install_method: git

# Git, SSH, or HTTP(s) protocol address of the git repository.
# Default: https://git.openstack.org/openstack-infra/zuul
zuul_git_uri: https://git.openstack.org/openstack-infra/zuul

# What version of the repository to check out.
# Default: master
zuul_git_version: master

# Absolute path of where the repository should be checked out to.
# Default: /opt/ansible-role-zuul/git/openstack-infra/zuul
zuul_git_dest: /opt/ansible-role-zuul/git/openstack-infra/zuul

# The version number to install from the Python Package Index.
# Default: None
zuul_pip_version:

# Name of the user to be created.
# Default: zuul
zuul_user_name: zuul

# Name of the group to be created.
# Default: zuul
zuul_user_group: zuul

# Path of home directory to be created.
# Default: /var/lib/zuul
zuul_user_home: /var/lib/zuul

Zuul Merger Configuration

# Value to pass to git config user.email.
# Default: Empty
zuul_config_merger_git_user_email: ""

# Value to pass to git config user.name.
# Default: Empty
zuul_config_merger_git_user_name: ""

Dependencies

Example Playbook

- name: Install zuul
  hosts: zuul
  roles:
    - ansible-role-zuul