Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

Ansible role to install the GitLab Omnibus package. Attention: This role has been migrated to our GitLab role (https://gitlab.com/hifis/ansible/gitlab-role).

Notifications You must be signed in to change notification settings

hifis-net/ansible-role-gitlab-base

Repository files navigation

GitLab Base Role

Attention: This role has been migrated to our GitLab role:

Please open any issues and merge requests there!

This Ansible Role provides a basic setup for services based on GitLab Omnibus.

Currently supported platforms are:

  • CentOS 8
  • Ubuntu 20.04 LTS (Focal Fossa)

Requirements

None.

Role Variables

gitlab_edition: "gitlab-ee"

The GitLab edition to install. Please use either gitlab-ce for Community Edition or gitlab-ee for Enterprise Edition.

gitlab_version: "13.2.1"
gitlab_release: "ce.0.el8"

Set a specific GitLab version to install. Please ensure that you also specify the desired release. You can find the available releases here.

gitlab_gpg_key_url: "https://packages.gitlab.com/gitlab/{{ gitlab_edition }}/gpgkey"

URL to the GPG key that was used to sign the packages.

gitlab_repo_url: "https://packages.gitlab.com/gitlab/{{ gitlab_edition }}/ubuntu/"

URL to the package repository based on the operating system.

gitlab_source_repo_url: "https://packages.gitlab.com/gitlab/{{ gitlab_edition }}/el/{{ ansible_distribution_major_version }}/SRPMS"

URL to the source package repository (CentOS only).

gitlab_package_name: "{{ gitlab_edition + '=' + gitlab_version + '-' + gitlab_release if gitlab_version and gitlab_release else gitlab_edition }}"

Name of the GitLab package to install.

gitlab_dependencies:
  - apt-transport-https
  - curl
  - gnupg
  - openssh-server
  - openssl

List of depend packages required by GitLab based on the operating system.

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
     - { role: username.rolename, x: 42 }

License

Apache-2.0

Author Information

This role was created by HIFIS Software Services.

About

Ansible role to install the GitLab Omnibus package. Attention: This role has been migrated to our GitLab role (https://gitlab.com/hifis/ansible/gitlab-role).

Topics

Resources

Stars

Watchers

Forks