dubzland.gitlab.gitlab_common role – Configures a GitLab repository for installation.

Note

This role is part of the dubzland.gitlab collection (version 1.1.1).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install dubzland.gitlab.

To use it in a playbook, specify: dubzland.gitlab.gitlab_common.

Entry point main – Configures a GitLab repository for installation.

Synopsis

  • Downloads and installs the repository gpg key.

  • Creates the apt sources drop-in.

  • Updates the package cache.

Parameters

Parameter

Comments

gitlab_common_gpg_key_dest

path / required

Location on the target filesystem where the gpg key is stored.

gitlab_common_gpg_key_url

string

Download location for the repository key.

gitlab_common_repo_dest

path / required

Location on the target filesystem where the apt source drop-in should be stored.

gitlab_common_repo_url

string / required

Download location for the GitLab package repository.