mrlesmithjr.gitlab-ce

Role Name

Installs GitLab-CE https://gitlab.com/gitlab-org/gitlab-ce #####Configurable (E-Mail,LDAP Ready)

Default login is root/5iveL!fe

Requirements

Install all Ansible role requirements.

sudo ansible-galaxy install -r requirements.yml -f

Vagrant

Spin up Environment under Vagrant to test.

vagrant up

Usage

user: root
pass: 5iveL!fe
Non-Vagrant

Login to WebUI (http://iporhostname)

Vagrant

Login to WebUI (http://127.0.0.1:8080)

Role Variables

---
# defaults file for ansible-gitlab-ce
config_gitlab: false
gitlab_active_directory: false
gitlab_apt_key: https://packages.gitlab.com/gpg.key
gitlab_apt_repos:
  - deb https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ trusty main
  - deb-src https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ trusty main
gitlab_ce_dl_package: gitlab-ce_8.0.5-ce.0_amd64.deb
gitlab_ce_dl_url: https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty
gitlab_email_display_name: '{{ ansible_hostname }}'
gitlab_email_enabled: false  #define here or in group_vars/group
gitlab_email_from: '{{ ansible_hostname }}@{{ smtp_domain_name }}'
gitlab_email_reply_to: '{{ gitlab_email_from }}'
gitlab_ldap_base_dn: []  #define here or in group_vars/group
gitlab_ldap_bind_dn: []  #define here or in group_vars/group
gitlab_ldap_bind_pass: []  #define here or in group_vars/group
gitlab_ldap_enabled: false  #define here or in group_vars/group
gitlab_ldap_servers: [] #define here or in group_vars/group
#  - host: 'dc01.{{ pri_domain_name }}'
#    role: main
#  - host: 'dc02.{{ pri_domain_name }}'
#    role: secondary
pri_domain_name: example.org  #defines primary domain name...define here or globally in group_vars/all

Dependencies

None

Example Playbook

GitHub

---
- name: provisions Gitlab-CE
  hosts: all
  become: true
  vars:
  roles:
    - role: ansible-gitlab-ce
  tasks:

Galaxy

---
- name: provisions Gitlab-CE
  hosts: all
  become: true
  vars:
  roles:
    - role: mrlesmithjr.gitlab-ce
  tasks:

License

BSD

Author Information

Larry Smith Jr.

About

Installs GitLab-CE - Configurable (E-Mail,LDAP Ready)

Install
ansible-galaxy install mrlesmithjr.gitlab-ce
GitHub repository
License
Unknown
Downloads
246
Owner
Sharing practical insights on virtualization, cloud, automation, and DevOps to help others build, automate, and innovate with confidence.