From 6df5f17cfe0c092665392b38b1b5f818f3ded40e Mon Sep 17 00:00:00 2001 From: jaydee Date: Wed, 7 May 2025 17:03:31 +0200 Subject: [PATCH] klal --- roles/docker/tasks/main.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index ee96349..80aa22e 100755 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -66,16 +66,12 @@ # chmod a+r /etc/apt/keyrings/docker.asc - name: Get keys for raspotify - ansible.builtin.shell: echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc]\ - https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" |\ - tee /etc/apt/sources.list.d/docker.list > /dev/null + ansible.builtin.shell: echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null when: - ansible_distribution == "Debian" and ansible_distribution_major_version == "12" - name: Get keys for raspotify - ansible.builtin.shell: echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc]\ - https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" |\ - sudo tee /etc/apt/sources.list.d/docker.list > /dev/null + ansible.builtin.shell: echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null when: - ansible_distribution == "Ubuntu"