docker
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. Usinglsb_release -cs
If not presentdocker_ubuntu_release
: Version of Ubuntu release. Usinglsb_release -cs
If not presentdocker_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 statedocker_service_enabled
: Docker service enable statusdocker_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
Based on Ansible role by Calvin Bui.
Install
ansible-galaxy install kirill-zak/ansible-docker
License
Unknown
Downloads
2033
Owner