This commit is contained in:
2026-02-23 22:09:01 +01:00
parent d416f989f6
commit a661078405

View File

@@ -71,11 +71,13 @@
- name: Download Docker GPG key - name: Download Docker GPG key
shell: | shell: |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/containerd.gpg curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
- name: Add Docker repository (Ubuntu 24 safe) - name: Add Docker repository (Ubuntu 24 safe)
apt_repository: apt_repository:
repo: "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu {{ ansible_lsb.codename }} stable" repo: "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] \
https://download.docker.com/linux/ubuntu noble stable"
state: present state: present
filename: docker filename: docker
update_cache: no update_cache: no