Skip to content

Installs Docker service on Ubuntu/Debian/RHEL

License

Notifications You must be signed in to change notification settings

tgagor/ansible-role-docker

Repository files navigation

Ansible role for Docker

This role will install Docker service on compatible platforms.

Molecule Test Ansible Role Ansible Quality Score Ansible Role

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

About

Installs Docker service on Ubuntu/Debian/RHEL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published