Docker setup Ansible role. This role is largely inspired by Jeff Geerling https://github.com/geerlingguy/ansible-role-docker[Docker role], I made my one since I tend to not rely on external projects too much especially when they are quite simple.
== Requirements
This role was written for Debian.
== Role Variables
Variables can be found in the link:./defaults/main.yml[default vars file].
[source,yaml]
----
docker_edition: 'ce'
docker_dependencies:
- "apt-transport-https"
- "ca-certificates"
- "curl"
- "gpg"
- "gnupg"
- "lsb-release"
docker_packages:
- "docker-{{ docker_edition }}"
- "docker-{{ docker_edition }}-cli"
- "docker-{{ docker_edition }}-rootless-extras"
- "containerd.io"
----
Defines Docker flavor to install, dependencies and the packages to install. We don't install the docker-compose binary since compose is include in the Docker command line.