/docker-ce

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

Primary LanguageJinjaGNU General Public License v3.0GPL-3.0

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.

Currently tests succeed on my Rocky Linux 8 developemnt machine for all distros provided I enable iptables in the running kernel. I'm currently trying to address this problem within GitHub Actions.

Requirements

None.

Role Variables

The variables that control the role behaviour are listed below with their respective defaults:

docker_compose_version: v2.2.2

The docker-compose release to be installed, as indicated on the Releases page of the docker-compose GitHub project.

Dependencies

None.

Example Playbook

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

Note the underscore in the name. Ansible Galaxy did not accept my submission otherwise.

License

GPLv3

Author Information

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