Skip to content

shnee/docker-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An Ansible role to install Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published