This role deploys GitLab package.
To use the role add following to the requirements.yml
:
collections:
- name: adfinis.gitlab
version: 1.0.1
Role is based on HIFIS GitLab role.
It adds support for:
- nested keys configuration as list e.g.
- key: ["object_store", "enabled"]
- deployment of custom pre-receive hooks
- self-signed keys for test/PoC environments
- apt package hold
Tested on Debian.
Configuration:
See roles/gitlab/defaults/main.yml
Example Playbook:
- name: Deploy Gitlab
hosts: gitlab_server
tasks:
- name: Import GitLab role
ansible.builtin.import_role:
name: adfinis.gitlab.gitlab
The Ansible collection adfinis.gitlab
was written by: