Skip to content

Commit

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

* Replace set_fact with inline templated conditional
  • Loading branch information
AndrewJDawes authored Jun 30, 2024
1 parent 2ce838a commit d98850e
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 @@ -19,7 +19,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 d98850e

Please sign in to comment.