centos_sig.yaml 674 B

1234567891011121314151617181920
  1. ---
  2. - name: Install CentOS OpenShift Origin Repo on RHEL
  3. copy:
  4. src: rhel-origin/repos/CentOS-OpenShift-Origin.repo
  5. dest: /etc/yum.repos.d/CentOS-OpenShift-Origin.repo
  6. when: ansible_distribution != 'CentOS'
  7. - name: Install CentOS extras gpg key for RHEL
  8. copy:
  9. src: rhel-origin/RPM-GPG-KEY-CentOS-SIG-PaaS
  10. dest: /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-PaaS
  11. mode: 0644
  12. when: ansible_distribution != 'CentOS'
  13. - name: Install the CentOS PaaS SIG release packages
  14. action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
  15. with_items:
  16. - centos-release-paas-common
  17. - centos-release-openshift-origin
  18. when: ansible_distribution == 'CentOS'