2023-05-01 01:45:15 +02:00
|
|
|
- name: make sure Dockers GPG key is added
|
|
|
|
ansible.builtin.get_url:
|
|
|
|
url: https://download.docker.com/linux/debian/gpg
|
|
|
|
dest: /etc/apt/trusted.gpg.d/docker.asc
|
|
|
|
mode: "0644"
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: make sure Dockers APT repository is added
|
|
|
|
ansible.builtin.apt_repository:
|
2023-07-06 22:14:44 +02:00
|
|
|
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/docker.asc] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
|
2023-05-01 01:45:15 +02:00
|
|
|
filename: docker
|
|
|
|
state: present
|
|
|
|
become: true
|