ab2d368b17
The docker mirror URL can now be set using the following options, `docker_download_fqdn` and `docker_mirror_base_url`. These variables will allow folks to use this role with custom mirrors. To accomodate this change, the repo files have been moved into templates and now use the jinja2 extension. Not all supported distros have the ability to install docker using the upstream mirrors. To ensure a high degree of success a new sanity check has been added to validate the mirror url content when upstream installation has been enabled. Change-Id: Ib9d50581d0df89e36d47dd523efd1adc95fdf4ac Signed-off-by: Kevin Carter <kecarter@redhat.com>
84 lines
2.1 KiB
Django/Jinja
84 lines
2.1 KiB
Django/Jinja
[docker-ce-stable]
|
|
name=Docker CE Stable - $basearch
|
|
baseurl={{ docker_mirror_base_url }}/7/$basearch/stable
|
|
enabled=1
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-stable-debuginfo]
|
|
name=Docker CE Stable - Debuginfo $basearch
|
|
baseurl={{ docker_mirror_base_url }}/7/debug-$basearch/stable
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-stable-source]
|
|
name=Docker CE Stable - Sources
|
|
baseurl={{ docker_mirror_base_url }}/7/source/stable
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-edge]
|
|
name=Docker CE Edge - $basearch
|
|
baseurl={{ docker_mirror_base_url }}/7/$basearch/edge
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-edge-debuginfo]
|
|
name=Docker CE Edge - Debuginfo $basearch
|
|
baseurl={{ docker_mirror_base_url }}/7/debug-$basearch/edge
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-edge-source]
|
|
name=Docker CE Edge - Sources
|
|
baseurl={{ docker_mirror_base_url }}/7/source/edge
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-test]
|
|
name=Docker CE Test - $basearch
|
|
baseurl={{ docker_mirror_base_url }}/7/$basearch/test
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-test-debuginfo]
|
|
name=Docker CE Test - Debuginfo $basearch
|
|
baseurl={{ docker_mirror_base_url }}/7/debug-$basearch/test
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-test-source]
|
|
name=Docker CE Test - Sources
|
|
baseurl={{ docker_mirror_base_url }}/7/source/test
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-nightly]
|
|
name=Docker CE Nightly - $basearch
|
|
baseurl={{ docker_mirror_base_url }}/7/$basearch/nightly
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-nightly-debuginfo]
|
|
name=Docker CE Nightly - Debuginfo $basearch
|
|
baseurl={{ docker_mirror_base_url }}/7/debug-$basearch/nightly
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|
|
|
|
[docker-ce-nightly-source]
|
|
name=Docker CE Nightly - Sources
|
|
baseurl={{ docker_mirror_base_url }}/7/source/nightly
|
|
enabled=0
|
|
gpgcheck=1
|
|
gpgkey={{ docker_mirror_base_url }}/gpg
|