summaryrefslogtreecommitdiffstats
path: root/roles/repos/tasks/main.yaml
blob: 48c123ab1fac8b7402a0b327159088d8e970651b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
# The following role lays down the correct repository and gpg key for yum

#- name: Ensure oso rhui rhel 7 server repository exists in yum.repos.d
#  copy: >
#    src=oso-rhui-rhel-7-server.repo
#    dest=/etc/yum.repos.d/oso-rhui-rhel-7-server.repo
#
#- name: Ensure Red Hat GPG Key is in place for the previous repo
#  copy: >
#    src=RPM-GPG-KEY-redhat-release
#    dest=/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

- name: Ensure rhel 7 libra candidate exists in yum.repos.d
  copy: src=rhel-7-libra-candidate.repo dest=/etc/yum.repos.d/rhel-7-libra-candidate.repo

- name: Ensure a docker repo is laid down
  copy: src=docker.repo dest=/etc/yum.repos.d/docker.repo

- name: Ensure the kubernetes repo is available
  copy: src=epel7-kubernetes.repo dest=/etc/yum.repos.d/epel7-kubernetes.repo

- name: Ensure the origin repo is available
  copy: src=epel7-origin.repo dest=/etc/yum.repos.d/epel7-origin.repo