main.yaml 1.0 KB

123456789101112131415161718192021222324252627
  1. ---
  2. # The following role lays down the correct repository and gpg key for yum
  3. #- name: Ensure oso rhui rhel 7 server repository exists in yum.repos.d
  4. # copy: >
  5. # src=oso-rhui-rhel-7-server.repo
  6. # dest=/etc/yum.repos.d/oso-rhui-rhel-7-server.repo
  7. #
  8. #- name: Ensure Red Hat GPG Key is in place for the previous repo
  9. # copy: >
  10. # src=RPM-GPG-KEY-redhat-release
  11. # dest=/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
  12. - name: Ensure rhel-7-libra-candidate client-key.pem exists
  13. copy: src=client-key.pem dest=/var/lib/yum/client-key.pem
  14. - name: Ensure rhel-7-libra-candidate client-cert.pem exists
  15. copy: src=client-cert.pem dest=/var/lib/yum/client-cert.pem
  16. - name: Ensure rhel 7 libra candidate exists in yum.repos.d
  17. copy: src=rhel-7-libra-candidate.repo dest=/etc/yum.repos.d/rhel-7-libra-candidate.repo
  18. - name: Ensure a docker repo is laid down
  19. copy: src=docker.repo dest=/etc/yum.repos.d/docker.repo
  20. - name: Ensure the kubernetes repo is available
  21. copy: src=epel7-kubernetes.repo dest=/etc/yum.repos.d/epel7-kubernetes.repo