mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-12 21:32:48 +01:00
build
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user