fix docker-distribution role template to conditionally set tls cert

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller 2016-04-07 16:04:06 +00:00
parent 2a1210a987
commit 2b9dcabeda

View file

@ -9,7 +9,9 @@ storage:
rootdirectory: {{ storage.filesystem.rootdirectory }}
http:
addr: {{ http.addr }}
{% if tls.enabled %}
tls:
certificate: {{ tls.certificate }}
key: {{ tls.key }}
{% endif %}