Go to file
2017-05-03 10:59:50 -05:00
defaults Fixes #2: Allow for Docker Compose version upgrades. 2017-05-03 10:51:04 -05:00
handlers Initial commit. 2017-02-23 22:08:18 -06:00
meta Initial commit. 2017-02-23 22:08:18 -06:00
tasks Issue #2: Only use variable if it's defined. 2017-05-03 10:59:50 -05:00
templates Get installation working on CentOS, add Debian 8 test. 2017-02-23 22:21:00 -06:00
tests Update test script README. [ci skip] 2017-04-02 10:40:37 -05:00
.gitignore Switch to more efficient and compact test setup. 2017-04-01 22:48:28 -05:00
.travis.yml Fix broken test. 2017-04-01 23:16:30 -05:00
LICENSE Add a LICENSE file for MIT license. [ci skip] 2017-03-31 11:23:23 -05:00
README.md Add variables to README. [ci skip] 2017-05-03 10:44:49 -05:00

Ansible Role: Docker

Build Status

An Ansible Role that installs Docker on Linux.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

docker_package: "docker-engine"

The Docker package to install.

docker_install_compose: true
docker_compose_version: "1.11.2"

Docker Compose installation options.

docker_apt_repository: "deb https://apt.dockerproject.org/repo {{ ansible_distribution|lower }}-{{ ansible_distribution_release }} main"

(Used only for Debian/Ubuntu.) Add 'testing' if you don't want stable.

docker_yum_repo_version: 'main' # 'testing', 'beta', 'nightly'

(Used only for RedHat/CentOS.)

Dependencies

None.

Example Playbook

- hosts: all
  roles:
    - geerlingguy.docker

License

MIT / BSD

Author Information

This role was created in 2017 by Jeff Geerling, author of Ansible for DevOps.