From fd4feff4905c870dcc20c6e6a2f51aa9372ea881 Mon Sep 17 00:00:00 2001 From: Aleksandr Kostyrev <kostyrev@kaspersky.com> Date: Wed, 9 Mar 2016 19:57:54 +0300 Subject: [PATCH] Import gpg_key on RedHat --- tasks/install-redhat.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tasks/install-redhat.yml b/tasks/install-redhat.yml index c875d22..ed0c7d8 100644 --- a/tasks/install-redhat.yml +++ b/tasks/install-redhat.yml @@ -1,4 +1,14 @@ --- + +- name: RHEL | Install GitLab GPG key + rpm_key: + state: present + key: https://packages.gitlab.com/gpg.key + when: ansible_os_family == 'RedHat' + tags: + - gitlab + - gitlab-gpg + - name: Install GitLab Runner dependencies yum: name: '{{ item }}' -- GitLab