Clone this repo:

Branches

  1. 82c6911 Fix metadata for Galaxy by Zack Williams · 1 year, 8 months ago master
  2. d41b07f Initial commit of Gerrit ansible role by Zack Williams · 3 years, 9 months ago

gerrit

Gerrit Code Review

NOTE: This role currently prepares the system for installing gerrit, but does not actually install the daemon, which is done manually.. In the future it may be expanded to do this as well, most likely from the package repos.

Currently, all this role does is creates the gerrit user account, data directories, and scripts to start the gerrit daemon.

The rest of the configuration needs to be run as the gerrit user so that file permissions are correctly maintained. As this user is intended just to run the daemon and configured with a nologin shell, it's recommended that you become the gerrit user with:

su -s /bin/bash gerrit

Gerrit requires a JRE (or JDK) to run, which should be installed by a separate role.

Requirements

Minimum ansible version: 2.9.5

Defaults

Default values can be found in defaults/main.yml

Example Playbook

- hosts: all
  roles:
    - gerrit

License and Author

© 2020 Open Networking Foundation support@opennetworking.org

License: Apache-2.0