This commit is contained in:
Kekskurse 2023-07-21 02:40:04 +02:00
parent 72fb8f9a4e
commit fe55d47391
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -14,6 +14,13 @@
url: https://download.docker.com/linux/debian/gpg url: https://download.docker.com/linux/debian/gpg
state: present state: present
- name: Download /etc/apt/keyrings/docker.gpg
ansible.builtin.get_url:
url: https://download.docker.com/linux/debian/gpg
dest: /etc/apt/keyrings/docker.gpg
mode: '0440'
- name: Add docker repository - name: Add docker repository
ansible.builtin.apt_repository: ansible.builtin.apt_repository:
repo: "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable" repo: "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"