File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 3434
3535 - name : Install Docker
3636 block :
37- - name : Add Docker GPG key
38- apt_key :
39- url : https://download. docker.com/linux/ubuntu/gpg
40- state : present
41-
42- - name : Add Docker repository
43- apt_repository :
44- repo : deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_lsb.codename }} stable
37+ - name : Add docker APT repository (Ubuntu 24.04)
38+ ansible.builtin.deb822_repository :
39+ name : docker
40+ types : [ deb ]
41+ uris : " https://download.docker.com/linux/ubuntu "
42+ signed_by : " https://download.docker.com/linux/ubuntu/gpg "
43+ suites : ["noble"]
44+ components : [ stable]
4545 state : present
46+ enabled : yes
4647
4748 - name : Install Docker
4849 apt :
4950 name : docker-ce
5051 state : present
52+ update_cache : yes
5153
5254 - name : Clone repository
5355 git :
You can’t perform that action at this time.
0 commit comments