Skip to content

An Ansible role that installs the latest version of Docker CE on Ubuntu based on the official installation instructions.

Notifications You must be signed in to change notification settings

kirill-zak/ansible-docker

 
 

Repository files navigation

Ansible Docker

An Ansible role that installs the latest version of Docker CE on the official installation instructions.

Support distributive

  • AlmaLinux 9.0, 9.1, 9.2.
  • Alpine Linux 3.16.x (3.16.0, 3.16.1, 3.16.2, 3.16.3, 3.16.4, 3.16.5)
  • Alpine Linux 3.17.x (3.17.0, 3.17.1, 3.17.2, 3.17.3)
  • Alpine Linux 3.18.x (3.18.0)
  • CentOS 8
  • Debian 10 (Buster)
  • Debian 11 (Bullseye)
  • Fedora (35, 36, 37)
  • Rocky Linux 9.0, 9.1, 9.2.
  • Ubuntu 18.04 (Bionic Beaver)
  • Ubuntu 20.04 (Focal Fossa)
  • Ubuntu 22.04 (Jammy Jellyfish)

Requirements

N/A

Role Variables

  • docker_debian_release: Version of Debian release. Using lsb_release -cs If not present
  • docker_ubuntu_release: Version of Ubuntu release. Using lsb_release -cs If not present
  • docker_users: A list of users to add to the docker group. They will not be evaluated until a session is created.
  • docker_service_state: Docker service state
  • docker_service_enabled: Docker service enable status
  • docker_service_proxy: Docker service proxy. Default value is empty.

Dependencies

N/A

Example Playbook

- hosts: all
  become: true
  roles:
    - role: kirill_zak.docker

License

GPLv3

Author Information

https://kirill-zak.ru

Based on Ansible role by Calvin Bui.

About

An Ansible role that installs the latest version of Docker CE on Ubuntu based on the official installation instructions.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jinja 100.0%