Skip to content

akagisho/gitlab-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitlab-ansible

Setting up GitLab using by Ansible.

Requirements

  • Ansible
  • VirtualBox
  • Vagrant 1.5+

Usage

production

First of all, install CentOS 6.x to the server.

Create Ansible inventory file.

$ ${EDITOR} production/inventory
[default]
gitlab.example.com  ansible_ssh_user=admin

Create configuration file.

$ ${EDITOR} production/group_vars/all
---
gitlab_external_url: https://gitlab.example.com
gitlab_ssh_host: gitlab.example.com
gitlab_email_from: [email protected]

Run ansible playbook.

$ ansible-playbook -i production/inventory site.yml

Login.

local vagrant

Run ansible playbook.

$ vagrant up
$ vagrant provision

Login.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published