docker
Docker Role
Install docker-engine
Role Variables
docker_bridge_ip_cidr
(optional): IP to be assigned to the docker bridge. Using standard CIDR notation, e.g. 192.168.1.5/24docker_bridge_mtu
(optional): override the maximum packet length on docker0docker_dns
(list, optional): override DNS servers to usedocker_dns_search
(list, optional): sets the domain names that are searcheddocker_regitry_mirror
( optional): URL of the registry mirror to be configureddocker_storage_driver
(optional): Storage driver to usedocker_log_driver
(optional): Log driver to use. Default: 'json-file'docker_logs_opts
(optional): Log driver options. Default: { 'max-file': '3', 'max-size': '100m' }
Example Playbook
- hosts: servers
roles:
- { role: indigo-dc.docker, docker_bridge_ip_cidr: "172.0.17.1/24" }
License
Apache Licence v2 [1]
Install
ansible-galaxy install maricaantonacci/ansible-role-docker
License
apache-2.0
Downloads
65
Owner