diff --git a/roles/container-engine/docker/vars/ubuntu-amd64.yml b/roles/container-engine/docker/vars/ubuntu-amd64.yml index 66699b4198b7c9f6d319ef0c311cb965768fa7f8..ce26c567ea5ca2883d3ac3f48558e640f4e4b53c 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 43ffd52c589b89fd4b67843f85db1b316213fd70..3021837e0e2086854d2636d8fc8fc621ec71ad67 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