From bd4df39538a46a908eff29ec0f14f989c711e024 Mon Sep 17 00:00:00 2001 From: Marco Ochse Date: Tue, 6 Feb 2024 13:45:12 +0100 Subject: [PATCH] fix missing replace for x86_64 > amd64 thanks to @shark4ce for taking the time to test, debug and offer a solution #1472. --- installer/install/tpot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/install/tpot.yml b/installer/install/tpot.yml index e2c2e126..432e0c0e 100644 --- a/installer/install/tpot.yml +++ b/installer/install/tpot.yml @@ -277,7 +277,7 @@ - name: Add Docker Engine repository (Debian, Raspbian, Ubuntu) apt_repository: filename: docker - repo: "deb [arch={{ ansible_architecture | replace('aarch64', 'arm64') }} signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable" + repo: "deb [arch={{ ansible_architecture | replace('aarch64', 'arm64') | replace('x86_64', 'amd64') }} signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable" state: present update_cache: yes when: ansible_distribution in ["Debian", "Raspbian", "Ubuntu"]