Skip to content

Commit

Permalink
Support ansible-test integration tests for arm64 (#906) (#907)
Browse files Browse the repository at this point in the history
* Support ansible-test integration for arm64

* Replace set_fact with inline templated conditional

(cherry picked from commit d98850e)

Co-authored-by: Andrew Dawes <[email protected]>
  • Loading branch information
patchback[bot] and AndrewJDawes authored Jun 30, 2024
1 parent e553b88 commit 3079acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/targets/setup_docker/tasks/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3079acf

Please sign in to comment.