ansible-role-docker/README.md

49 lines
1.1 KiB
Markdown
Raw Normal View History

2017-02-24 05:08:18 +01:00
# Ansible Role: Docker
[![Build Status](https://travis-ci.org/geerlingguy/ansible-role-docker.svg?branch=master)](https://travis-ci.org/geerlingguy/ansible-role-docker)
2017-05-03 17:43:11 +02:00
An Ansible Role that installs [Docker](https://www.docker.com) on Linux.
2017-02-24 05:08:18 +01:00
## Requirements
None.
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
2017-05-03 17:44:49 +02:00
docker_package: "docker-engine"
2017-02-24 05:08:18 +01:00
2017-05-03 17:44:49 +02:00
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.)
2017-02-24 05:08:18 +01:00
## Dependencies
None.
## Example Playbook
- hosts: all
roles:
- geerlingguy.docker
## License
MIT / BSD
## Author Information
This role was created in 2017 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).