Skip to content

Commit 318f182

Browse files
authored
Replace hardcoded GPG key for Redhat
1 parent c71a414 commit 318f182

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/gitlab/tasks/install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
enabled: true
7171
gpgkey:
7272
- "{{ gitlab_gpg_key_url }}"
73-
- "{{ gitlab_gpg_key_url }}/gitlab-{{ gitlab_edition }}-3D645A26AB9FBD22.pub.gpg"
73+
- "{{ gitlab_gpg_key_url }}/gitlab-{{ gitlab_edition }}-{{ gitlab_gpg_key_id }}.pub.gpg"
7474
sslverify: true
7575
sslcacert: "/etc/pki/tls/certs/ca-bundle.crt"
7676
metadata_expire: "300"
@@ -86,7 +86,7 @@
8686
enabled: true
8787
gpgkey:
8888
- "{{ gitlab_gpg_key_url }}"
89-
- "{{ gitlab_gpg_key_url }}/gitlab-{{ gitlab_edition }}-3D645A26AB9FBD22.pub.gpg"
89+
- "{{ gitlab_gpg_key_url }}/gitlab-{{ gitlab_edition }}-{{ gitlab_gpg_key_id }}.pub.gpg"
9090
sslverify: true
9191
sslcacert: "/etc/pki/tls/certs/ca-bundle.crt"
9292
metadata_expire: "300"

0 commit comments

Comments
 (0)