Fix apt message: docker doesn't support arch 'i386'
This commit is contained in:
parent
bd99dd05b4
commit
de6c1c99b2
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
- name: Ensure Docker repository is enabled (Debian)
|
- name: Ensure Docker repository is enabled (Debian)
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb https://download.docker.com/linux/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} stable"
|
repo: "deb [arch=amd64] https://download.docker.com/linux/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} stable"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
Loading…
Reference in New Issue
Block a user