[gitlab] Import Gitlab GPG public key

Signed-off-by: ynerant <ynerant@crans.org>
certbot_on_virtu
ynerant 2021-02-11 15:48:21 +01:00 committed by Yohann D'ANELLO
parent b152c48ed3
commit 065fe78435
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 15 additions and 0 deletions

View File

@ -1,4 +1,19 @@
--- ---
- name: Install GPG and apt-transport-https
apt:
update_cache: true
install_recommends: false
name:
- apt-transport-https
- gnupg
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Import Gitlab public key
apt_key:
url: https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey
- name: Configure Gitlab repository - name: Configure Gitlab repository
template: template:
src: apt/sources.list.d/gitlab_gitlab-ce.list.j2 src: apt/sources.list.d/gitlab_gitlab-ce.list.j2