Skip to content

adfinis/ansible-collection-gitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Collection - adfinis.gitlab

License GitHub Workflow Status adfinis.gitlab on Ansible Galaxy

This role deploys GitLab package.

To use the role add following to the requirements.yml:

collections:
  - name: adfinis.gitlab
    version: 1.0.1

Roles

adfinis.gitlab.gitlab

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

License

GPL-3.0-or-later

Author Information

The Ansible collection adfinis.gitlab was written by: