Skip to content

Commit

Permalink
Fix apt update don't access Docker’s official repository for Ubuntu (k…
Browse files Browse the repository at this point in the history
  • Loading branch information
tasekida authored May 13, 2020
1 parent 167e293 commit 81292f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions roles/container-engine/docker/vars/ubuntu-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions roles/container-engine/docker/vars/ubuntu-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 81292f9

Please sign in to comment.