A role that downloads and install gitlab, in a format for ansible galaxy
Nginx
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
defaults
meta
tasks
templates no need to set SCRIPT_NAME to an empty string Jan 23, 2015
LICENSE
README.md

README.md

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_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