Skip to content

Ansible Role for deploying docker-engine to hosts

License

Notifications You must be signed in to change notification settings

avinetworks/ansible-role-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

avinetworks.docker

Build Status Ansible Galaxy

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

Requirements

This role requires Ansible 2.0.0 or higher. Requirements are listed in the metadata file.

Role Variables

Variable Required Default Choices Comments
docker_storage_driver No None
  • devicemapper
  • aufs
The name of the storage driver for docker.
docker_block_device No None
  • /dev/sda3, etc.
The device name used for the storage driver.

Example Playbook

Install docker to your machine.

- hosts: servers
  roles:
     - role: avinetworks.docker
       storage_driver: devicemapper
       block_device: /dev/sda3

License

MIT

Author Information

Eric Anderson