23 lines
653 B
YAML
23 lines
653 B
YAML
- name: Install apt-transport-https
|
|
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: Update repositories cache and install "docker-ce" package
|
|
apt:
|
|
name: docker-ce
|
|
update_cache: yes
|
|
|
|
- name: Update repositories cache and install "docker-ce" package
|
|
apt:
|
|
name: docker-ce-cli
|
|
|
|
- name: Update repositories cache and install "docker-ce" package
|
|
apt:
|
|
name: containerd.io
|