This role provides the following:
- Installation of Docker following Docker-Engine install procedures as documented by Docker.
- It will manage kernel versions as well, verifying the that the correct kernel for Docker support is installed.
Supports the following Operating Systems:
- CentOS 6
- CentOS 7
- RedHat 6
- RedHat 7
- Fedora 24
- Fedora 23
- OracleLinux 6
- OracleLinux 7
- Ubuntu 12.04
- Ubuntu 14.04
- Ubuntu 16.04
This role requires Ansible 2.0.0 or higher. Requirements are listed in the metadata file.
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
docker_storage_driver |
No | None |
|
The name of the storage driver for docker. |
docker_block_device |
No | None |
|
The device name used for the storage driver. |
Install docker to your machine.
- hosts: servers
roles:
- role: avinetworks.docker
storage_driver: devicemapper
block_device: /dev/sda3
MIT
Eric Anderson