kirill_zak.docker

Ansible Docker

This is an Ansible role that installs the latest Docker CE (Community Edition) following the official instructions.

Supported Distributions

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

Requirements

None

Role Variables

  • docker_debian_release: The version of Debian being used. It will use the command lsb_release -cs if not specified.
  • docker_ubuntu_release: The version of Ubuntu being used. It will use the command lsb_release -cs if not specified.
  • docker_users: A list of users to be added to the Docker group. They won't be recognized until they start a new session.
  • docker_service_state: The state of the Docker service.
  • docker_service_enabled: Whether the Docker service is enabled or not.
  • docker_service_proxy: Configuration for a Docker service proxy. The default is empty.

Dependencies

None

Example Playbook

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

License

GPLv3

Author Information

You can learn more at: https://kirill-zak.ru

This role is based on the Ansible role created by Calvin Bui.

Informazioni sul progetto

Install Docker on Debain and Ubuntu system

Installa
ansible-galaxy install kirill_zak.docker
Licenza
Unknown
Download
2.1k
Proprietario