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/24
  • docker_bridge_mtu (optional): override the maximum packet length on docker0
  • docker_dns (list, optional): override DNS servers to use
  • docker_dns_search (list, optional): sets the domain names that are searched
  • docker_regitry_mirror( optional): URL of the registry mirror to be configured
  • docker_storage_driver (optional): Storage driver to use
  • docker_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]

[1] http://www.apache.org/licenses/LICENSE-2.0

About

Install docker engine

Install
ansible-galaxy install maricaantonacci/ansible-role-docker
GitHub repository
License
apache-2.0
Downloads
65