---
# defaults file for docker-distribution
#

# where to put the config.yml on the remote machine
conf_path: "/etc/docker-distribution/registry/config.yml"

# Config directives
tls:
  enabled: False
  certificate: "PATH_TO_CERT"
  key: "PATH_TO_KEY"
log:
  fields:
    service: "registry"
storage:
  cache:
    layerinfo: "inmemory"
  filesystem:
    rootdirectory: "/var/lib/registry/"
http:
  addr: "localhost:5000"

# Cert information to place certificate files on system
cert:
  dest_dir: "/etc/pki/docker/{{ inventory_hostname }}{{ http.addr }}"
  cert_src: "ca.crt"
  cert_dest: "ca.crt"
  key_src: "ca.key"
  key_dest: "ca.key"

