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.
 
 
 
 
 
 
ansible-roles/docker-host
Ludovic Poujol 134355d190 docker: Allow live-restore to be toggled with docker_conf_live_restore 4 months ago
..
defaults docker: Allow live-restore to be toggled with docker_conf_live_restore 4 months ago
files docker : Removed Debian Jessie support 5 months ago
handlers Import docker-host 6 years ago
tasks docker: Remove (broken?) systemd override 5 months ago
templates docker: Allow live-restore to be toggled with docker_conf_live_restore 4 months ago
README.md Import docker-host 6 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