Skip to content

An Ansible role to install Docker Community Edition and docker-compose

License

Notifications You must be signed in to change notification settings

nmusatti/docker-ce

Repository files navigation

Ansible role: docker-ce

test

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.

Requirements

None.

Role Variables

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.

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
     - role: nmusatti.docker_ce

Note the underscore in the name.

License

GPLv3

Author Information

Nicola Musatti - https://github.com/nmusatti

About

An Ansible role to install Docker Community Edition and docker-compose

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published