You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shnee b1df5ccd17 Added support for RHEL 7 & 8 4 years ago
defaults Added support for RHEL 7 & 8 4 years ago
meta Added support for RHEL 7 & 8 4 years ago
tasks Added support for RHEL 7 & 8 4 years ago
LICENSE Added a license. 4 years ago
README.md Moved around files to make this repo just a role. 4 years ago

README.md

Ansible Role: Install Docker

An Ansible role that installs Docker.

This role has been tested on:

  • Amazon Linux 2
  • ArchLinux
  • Centos 7 & 8
  • Ubuntu 20.04

Variables

The variable that you're most likely going to want to change is docker_users. That variable is a list of all the users on the system that should be added to the docker group.

docker_users: [ admin, docker_admin ]

Example Playbook

- hosts: k8s-nodes
  roles:
    - {role: install_docker, docker_users: [admin]}

License

MIT

Author Information

This role was created by shnee.