Stuff
This commit is contained in:
parent
5642438b62
commit
cdf53b4cad
1 changed files with 5 additions and 5 deletions
10
docker.yml
10
docker.yml
|
@ -3,16 +3,16 @@
|
|||
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
|
||||
|
|
Reference in a new issue