ansible/roles/docker-distribution/defaults/main.yml
Kevin Fenzi a32f8b9e4a Change ansible_fqdn to inventory_hostname. This fixes some few hosts that have incorrect reverse dns
and shouldn't break any others since we always use fully qualified in our inventory.
2016-05-11 15:08:50 +00:00

31 lines
637 B
YAML

---
# 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"