docker.yml aktualisiert
This commit is contained in:
parent
3105be01fb
commit
33fda708e8
@ -76,13 +76,13 @@
|
||||
# url: "https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg"
|
||||
# state: present
|
||||
|
||||
- name: Add repository into sources list
|
||||
- name: Remove old repository from sources if exists
|
||||
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
|
||||
- name: Add repository into 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"
|
||||
state: present
|
||||
|
Loading…
Reference in New Issue
Block a user