This role will install Docker service on compatible platforms.
- Ubuntu
- 18.04
- 20.04
- 20.10
- 21.04
- Debian
- 10 (buster)
- 11 (bullseye)
- CentOS
- 7
- 8
- Fedora
- 32
- 33
- 34
As Docker's repo is available via HTTPS, role will install apt-transport-https
if it's not present in the system.
Role doesn't require any custom variables.
There are no dependencies on other roles.
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
See LICENSE