From 3079acffc1637dc4bdfc4bad5889e5f3032c0c36 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 30 Jun 2024 14:19:15 +0200 Subject: [PATCH] Support ansible-test integration tests for arm64 (#906) (#907) * Support ansible-test integration for arm64 * Replace set_fact with inline templated conditional (cherry picked from commit d98850e9e9ba6ccb73958e441c7428a33fc7ff90) Co-authored-by: Andrew Dawes <53574062+AndrewJDawes@users.noreply.github.com> --- tests/integration/targets/setup_docker/tasks/Debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/targets/setup_docker/tasks/Debian.yml b/tests/integration/targets/setup_docker/tasks/Debian.yml index c36b6229..e519ece4 100644 --- a/tests/integration/targets/setup_docker/tasks/Debian.yml +++ b/tests/integration/targets/setup_docker/tasks/Debian.yml @@ -15,7 +15,7 @@ - name: Add Docker repo apt_repository: - repo: deb [arch=amd64] https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable + repo: deb [arch={{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}] https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable state: present - block: