An Ansible Role for Installing, Configuring, and Starting Docker on a System
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
handlers
meta
tasks
tests
vars
.gitignore
.travis.yml
LICENSE
Makefile
README.md
Vagrantfile
ansible.cfg
docker-compose.yml
requirements.yml
vagrant.yml

README.md

ansible-role-docker Build Status

An Ansible role for installing, configuring, and starting Docker on a system.

Available on Ansible Galaxy at naftulikay.docker.

Requirements

Officially tested operating systems are listed in the Galaxy manifest.

Role Variables

docker_users
A string or list of strings of usernames to add to the docker group.

Dependencies

None.

Example Playbook

Here are some example playbooks to get started with.

Defaults

Simply get that Docker dockering:

---
- name: install
  hosts: all
  become: true
  roles:
    - role: docker

Add the vagrant user to the docker group:

---
- name: install
  hosts: all
  become: true
  roles:
    - role: docker
      docker_users: vagrant

License

MIT