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.

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published