wunzeco.docker
DOCKER
Ansible role to set up and configure the Docker engine.
Example
- To install and set up the Docker engine with the remote API enabled:
vars:
docker_port: 2375
docker_opts:
- "-H tcp://0.0.0.0:{{ docker_port }}"
- "-H unix:///var/run/docker.sock"
roles:
- wunzeco.docker
- To set up a server as a Docker Swarm manager:
vars:
docker_swarm_manager: true
docker_opts: []
roles:
- wunzeco.docker
Testing
To run integration tests for this role:
PLATFORM=ubuntu-1604 # OR centos OR ubuntu-1404
kitchen verify $PLATFORM && kitchen destroy $PLATFORM
Dependencies
None
Installa
ansible-galaxy install wunzeco.docker
Licenza
Unknown
Download
4.7k
Proprietario