An Ansible role to install the official Docker Community Edition engine. Supported distributions are the currently maintained releases of the Red Hat family and derivatives, and Ubuntu LTS. At this time tests are run on Rocky Linux 9, CentOS Stream 10, CentOS Stream 9, Fedora 41, Fedora 40, Fedora 39, Ubuntu 24.04, Ubuntu 22.04 and Ubuntu 20.04.
None.
The variables that control the role behaviour are listed below with their respective defaults:
start_service: True
Whether the docker system service should be started after installation.
None.
- hosts: servers
roles:
- role: nmusatti.docker_ce
Note the underscore in the name.
GPLv3
Nicola Musatti - https://github.com/nmusatti