This commit is contained in:
Kekskurse 2021-10-11 11:32:55 +02:00
parent 5642438b62
commit cdf53b4cad
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
1 changed files with 5 additions and 5 deletions

View File

@ -2,17 +2,17 @@
apt:
name: apt-transport-https
state: present
- name: Add specified repository into sources list
ansible.builtin.apt_repository:
repo: "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian buster stable"
state: present
- name: Add an Apt signing key, uses whichever key is at the URL
ansible.builtin.apt_key:
url: https://download.docker.com/linux/debian/gpg
state: present
- name: Add specified repository into sources list
ansible.builtin.apt_repository:
repo: "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian buster stable"
state: present
- name: Update repositories cache and install "docker-ce" package
apt:
name: docker-ce