docker_distribution: Rename role

This commit is contained in:
Timo Makinen 2022-02-25 00:44:48 +00:00
parent c67990e462
commit 80b7adbcf8
5 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,28 @@
version: 0.1
log:
fields:
service: registry
storage:
cache:
layerinfo: inmemory
filesystem:
rootdirectory: /srv/registry
{% if htpasswd is defined %}
auth:
htpasswd:
realm: Authentication Required
path: /etc/docker-distribution/registry/htpasswd
{% endif %}
http:
addr: :5000
{% if docker_distribution_secret is defined %}
secret: {{ secret }}
{% endif %}
tls:
certificate: {{ tls_certs }}/{{ inventory_hostname }}.crt
key: {{ tls_private }}/{{ inventory_hostname }}.key
clientcas:
- {{ tls_certs }}/ca.crt
minimumtls: 1.3
headers:
X-Content-Type-Options: [nosniff]