docker.yml aktualisiert

This commit is contained in:
olli 2023-07-25 10:42:21 +02:00
parent 708785ccd7
commit d7205911a8

View File

@ -76,6 +76,12 @@
# url: "https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg"
# state: present
- name: Add repository into sources list
ansible.builtin.apt_repository:
repo: "deb https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable"
state: absent
filename: docker
- name: Add repository into sources list
ansible.builtin.apt_repository:
repo: "deb [arch=amd64 signed-by=/usr/share/keyrings/gpg-pub-docker.gpg] https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable"