mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 11:58:43 +00:00
* 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:
parent
e553b88af5
commit
3079acffc1
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user