Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/indigo-dc/ansible-role-docker
Ansible role for docker
https://github.com/indigo-dc/ansible-role-docker
ansible-role
Last synced: 3 months ago
JSON representation
Ansible role for docker
- Host: GitHub
- URL: https://github.com/indigo-dc/ansible-role-docker
- Owner: indigo-dc
- License: apache-2.0
- Created: 2016-04-19T07:58:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T09:58:37.000Z (8 months ago)
- Last Synced: 2024-08-25T00:38:10.053Z (6 months ago)
- Topics: ansible-role
- Size: 58.6 KB
- Stars: 1
- Watchers: 7
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Docker Role
=========Install docker-engine on Ubuntu/Debian and RedHat-like OS
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' }Dependencies
--------------
NoneExample 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