[gitlab] Import Gitlab GPG public key
Signed-off-by: ynerant <ynerant@crans.org>certbot_on_virtu
parent
b152c48ed3
commit
065fe78435
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue