summaryrefslogtreecommitdiffstats
path: root/ansible/roles/docker/templates/RedHat-repos.j2
blob: 6d367408c9b9b24c1d5f47e0f21e1b8090c1eead (plain)
1
2
3
4
5
6
7
[dockerrepo]
name=Docker Repository
# $releasever for RHEL 7 is '7Server' so we can't use $releasever
baseurl={{ docker_project_url }}/repo/main/{{ ansible_distribution|lower|regex_replace('redhat', 'centos') }}/{{ ansible_distribution_major_version }}/
enabled=1
gpgcheck=1
gpgkey={{ docker_project_url }}/gpg