Gitlab running by unicorn and nginx as a frontend and database uses mariadb on CentOS7
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
defaults
files
handlers
meta
tasks
templates
vars
LICENSE
README.md

README.md

ansible-role-gitlab_centos7

The role is created for centos7.

  • Installs from git.
  • Gitlab running by unicorn and nginx as a frontend.
  • Uses database is mariadb instead of Postgresql.

Requirements

  • CentOS7
  • Ruby (MRI) upper 2.0
  • Git
  • MySQL or MariaDB
  • Redis (installed by this role)
  • nginx

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
  • gitlab_version - gitlab version to checkout
  • gitlab_shell_version - gitlab shell version to checkout
  • gitlab_user - gitlab user (git by default)
  • gitlab_password - gitlab password
  • gitlab_ssh_port - gitlab port for ssh (22 by default)
  • gitlab_relative_root - use sub directory access for gitlab
  • gitlab_front_port - port used for nginx (80 by default)
  • gitlab_backend_port - port used for unicorn (8080 by default)
  • gitlab_backend_url - url used for unicorn (http://localhost by default)
  • gitlab_db_name - database name (gitlab by default)
  • gitlab_db_user - database user (gitlab by default)
  • gitlab_db_password - database password (probably should change this, it's some random string now)
  • gitlab_smtp_server - smtp server hostname for send email by gitlab
  • gitlab_smtp_port - smtp server port for send email by gitlab

License

Licensed under the MIT License. See the LICENSE file for details.

Author Information