docker
Ansible role for Docker
This role will install Docker service on compatible platforms.
Supported systems
- Ubuntu
- 18.04
- 20.04
- 20.10
- 21.04
- Debian
- 10 (buster)
- 11 (bullseye)
- CentOS
- 7
- 8
- Fedora
- 32
- 33
- 34
Requirements
As Docker's repo is available via HTTPS, role will install apt-transport-https
if it's not present in the system.
Role variables
Role doesn't require any custom variables.
Dependencies
There are no dependencies on other roles.
Example playbook
Just add to you playbook, to install it on localhost
:
- hosts: localhost
connection: local
gather_facts: true
become: yes
tasks:
- name: Install Docker
include_role:
name: tgagor.docker
License
See LICENSE