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 d98850e9e9)

Co-authored-by: Andrew Dawes <53574062+AndrewJDawes@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2024-06-30 14:19:15 +02:00 committed by GitHub
parent e553b88af5
commit 3079acffc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: