Fix apt update don't access Docker’s official repository for Ubuntu (#6106)

This commit is contained in:
tasekida 2020-05-13 23:06:26 +09:00 committed by GitHub
parent 167e293594
commit 81292f9cf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ docker_repo_info:
pkg_repo: apt_repository
repos:
- >
deb {{ docker_ubuntu_repo_base_url }}
deb [arch={{ host_architecture }}] {{ docker_ubuntu_repo_base_url }}
{{ ansible_distribution_release|lower }}
stable
@ -46,6 +46,6 @@ dockerproject_repo_info:
pkg_repo: apt_repository
repos:
- >
deb {{ docker_ubuntu_repo_base_url }}
deb [arch={{ host_architecture }}] {{ docker_ubuntu_repo_base_url }}
{{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}
main

View file

@ -28,7 +28,7 @@ docker_repo_info:
pkg_repo: apt_repository
repos:
- >
deb {{ docker_ubuntu_repo_base_url }}
deb [arch={{ host_architecture }}] {{ docker_ubuntu_repo_base_url }}
{{ ansible_distribution_release|lower }}
stable
@ -42,6 +42,6 @@ dockerproject_repo_info:
pkg_repo: apt_repository
repos:
- >
deb {{ docker_ubuntu_repo_base_url }}
deb [arch={{ host_architecture }}] {{ docker_ubuntu_repo_base_url }}
{{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}
main