/ansible-gitlab

A role that downloads and install gitlab, in a format for ansible galaxy

BSD 2-Clause "Simplified" LicenseBSD-2-Clause

Gitlab

Installs gitlab from git. Generally follows the installation document on their site.

Requirements

The role is created for Debian-like OS's. Depends on the uWSGI role, and also installs nginx as a frontend.

Role Variables

The role uses the following variables, that you can also override:

  • gitlab_hostname - override to set the name of the virtual host, also used for email (defaults to ansible_hostname)
  • gitlab_branch - gitlab branch to checkout
  • gitlab_shell_version - gitlab shell version to checkout
  • gitlab_db_type - database type to use (mysql by default)
  • gitlab_db_name - database name (gitlab)
  • gitlab_db_user - database user (gitlab)
  • gitlab_db_passwd - database password (probably should change this, it's some random string now)
  • gitlab_user - system user that's needed for ssh access
  • gitlab_uwsgi_port - port used for nginx - uwsgi communucation
  • gitlab_ssh_port - override if using different port for ssh (22 by default)

Usage

ansible-galaxy install gdamjan.gitlab

Also check the Ansible Galaxy about page.

License

BSD

Author and other Information

Damjan Georgievski

GitHub project page