diff --git a/docker.yml b/docker.yml index 5bca1da..6f64fc0 100644 --- a/docker.yml +++ b/docker.yml @@ -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"