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.
David Prevot a1bad43b25
Drop unsigned repository when adding a signed one
2 months ago
defaults Use proper keyrings directory for APT version 3 months ago
files docker : Removed Debian Jessie support 9 months ago
handlers Import docker-host 6 years ago
tasks Drop unsigned repository when adding a signed one 2 months ago
templates docker: Allow live-restore to be toggled with docker_conf_live_restore 8 months ago Import docker-host 6 years ago


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:

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


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