mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-18 19:10:43 +01:00
Ansible Role - Docker
b120481824
docker repo for RHEL family |
||
---|---|---|
defaults | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
tests | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
README.md |
Ansible Role: Docker
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_path: /usr/local/bin/docker-compose
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.