Ansible roles by Evolix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jérémy Lecour 27e217467e Change "|changed" with "is changed" 10 months ago
..
defaults New variable for docker home 3 years ago
files download gpg in repo, we want to be independant from network as possible 3 years ago
handlers Import docker-host 3 years ago
tasks Change "|changed" with "is changed" 10 months ago
templates Update docker-host role 3 years ago
README.md Import docker-host 3 years ago

README.md

docker-host

What docker-host Affects

This playbook will install a docker-engine on the target host.

Role Variables

These variables are needed when the docker-engine needs to be exposed.

  • docker_remote_access_enabled: True
  • docker_daemon_port: 2376
  • docker_daemon_listening_ip: 0.0.0.0

When the docker-engine is reachable from another host, it’s important to configure TLS. Those are the basic settings for TLS and it should not be modified.

  • docker_tls_enabled: True
  • docker_tls_path: /home/docker/tls
  • docker_tls_ca: ca/ca.pem
  • docker_tls_ca_key: ca/ca-key.pem
  • docker_tls_cert: server/cert.pem
  • docker_tls_key: server/key.pem
  • docker_tls_csr: server/server.csr

Example

$ ansible-playbook -i inventory docker-host.yml

License

GPLv3