2018-03-12 11:05:12 +08:00
|
|
|
[docker-ce]
|
|
|
|
name=Docker-CE Repository
|
2017-08-10 06:49:53 +08:00
|
|
|
baseurl={{ docker_rh_repo_base_url }}
|
2016-04-11 04:08:13 +08:00
|
|
|
enabled=1
|
2020-03-30 16:13:53 +08:00
|
|
|
gpgcheck={{ '1' if docker_rh_repo_gpgkey else '0' }}
|
2018-11-16 18:33:23 +08:00
|
|
|
keepcache={{ docker_rpm_keepcache | default('1') }}
|
2017-08-10 06:49:53 +08:00
|
|
|
gpgkey={{ docker_rh_repo_gpgkey }}
|
2020-10-20 14:06:07 +08:00
|
|
|
{% if http_proxy is defined %}
|
|
|
|
proxy={{ http_proxy }}
|
|
|
|
{% endif %}
|
|
|
|
{% if ansible_os_family == "RedHat" and ansible_distribution_major_version|int == 8 %}
|
|
|
|
module_hotfixes=True
|
|
|
|
{% endif %}
|