Files
it-ansible/playbooks/roles/docker/tasks/main/02_docker_install.yaml
Julian Schacher 75acd59ee8 Add docker role for making sure Docker is installed
Add a docker role for making sure Docker is installed from the Docker
repositories.
Take the role from the ccchh-ansible repo, provide attribution in the
README and add the relevant license in a new licenses directory.
Modify the role by removing the distribution check and adjusting the
task names to be in line with other task names in this repo.
2023-11-24 13:37:40 +01:00

12 lines
281 B
YAML

- name: Ensure Docker Engine and other related packages are installed
ansible.builtin.apt:
name:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
state: present
update_cache: true
become: true