Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
/ docker Public archive

Ansible role to install docker and docker-compose

Notifications You must be signed in to change notification settings

mashimom/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker and docker-compose

Install docker from distro repo and then installs docker-compose from pip

Requirements

A docker capable environment

Role Variables

Defaults to the user connecting to target.

var default value required description
DOCKER_USERS ["{{ansible_env.USER}}"] yes List of all users that should be enable to run docker without sudo

Dependencies

Depends on another role called pip.

Example Playbook

Example of how to use this role:

- hosts: localhost
  roles:
     - role: mashimom.docker
       DOCKERUSERS: [kirk,picard]

License

MIT

Author Information

@mashimom

Releases

No releases published

Packages

No packages published