diff --git a/roles/container-engine/docker/vars/ubuntu-amd64.yml b/roles/container-engine/docker/vars/ubuntu-amd64.yml index 66699b419..ce26c567e 100644 --- a/roles/container-engine/docker/vars/ubuntu-amd64.yml +++ b/roles/container-engine/docker/vars/ubuntu-amd64.yml @@ -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 diff --git a/roles/container-engine/docker/vars/ubuntu-arm64.yml b/roles/container-engine/docker/vars/ubuntu-arm64.yml index 43ffd52c5..3021837e0 100644 --- a/roles/container-engine/docker/vars/ubuntu-arm64.yml +++ b/roles/container-engine/docker/vars/ubuntu-arm64.yml @@ -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