From 79120836a6332ab23ced4cc74112f41b26bd337f Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Wed, 6 Jul 2016 15:38:06 -0400 Subject: Add CentOS PaaS SIG repos for RHEL --- roles/openshift_repos/tasks/centos_sig.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'roles/openshift_repos/tasks/centos_sig.yaml') diff --git a/roles/openshift_repos/tasks/centos_sig.yaml b/roles/openshift_repos/tasks/centos_sig.yaml index 62cbef5db..60640d8a9 100644 --- a/roles/openshift_repos/tasks/centos_sig.yaml +++ b/roles/openshift_repos/tasks/centos_sig.yaml @@ -1,6 +1,20 @@ --- +- name: Install CentOS OpenShift Origin Repo on RHEL + copy: + src: rhel-origin/repos/CentOS-OpenShift-Origin.repo + dest: /etc/yum.repos.d/CentOS-OpenShift-Origin.repo + when: ansible_distribution != 'CentOS' + +- name: Install CentOS extras gpg key for RHEL + copy: + src: rhel-origin/RPM-GPG-KEY-CentOS-SIG-PaaS + dest: /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-PaaS + mode: 0644 + when: ansible_distribution != 'CentOS' + - name: Install the CentOS PaaS SIG release packages action: "{{ ansible_pkg_mgr }} name={{ item }} state=present" with_items: - centos-release-paas-common - centos-release-openshift-origin + when: ansible_distribution == 'CentOS' -- cgit v1.2.3