A playbook to install and configure Docker Enterprise Edition Engine.
Access to the internet and a subscription to Docker EE on https://store.docker.com. The playbook will reach out to https://storebits.docker.com/.
Parameter | Required | Default | Description |
---|---|---|---|
docker_subscription | yes | The subscription id provisioned by Docker storebits (i.e. sub-xxx-xxx) | |
docker_repo | no | stable-17.06 | The repo to install EE Engine from (stable-17.06, etc) |
docker_engine_labels | no | A map of labels for this engine | |
docker_bind_socket | no | true | Should the engine bind to the Docker socket |
docker_bind_ip | no | Should the engine bind to an ip address | |
docker_port | no | 2375 | IP port the engine should bind to |
None
Simple example that includes a couple of labels.
- hosts: all
become: true
vars:
docker_subscription: sub-xxx-xxx-xxx-xxx
docker_engine_labels:
storage: ssd
location: rack1
roles:
- ee_engine
Apache 2.0
David Yu