dataset/seed/tls/templates/certificates.yml

14 lines
495 B
YAML

{% for machine, certificates in extra_variables['certificates'].items() %}
{{ machine }}:
{% for certificate in certificates %}
- certificate: {{ certificate.name }}
{% if 'private' in certificate %}
private: {{ certificate.private }}
{% endif %}
authority: {{ certificate.authority }}
authority_server: {{ certificate.get('server', 'null') }}
domain: {{ certificate.domain }}
provider: {{ certificate.provider }}
type: {{ certificate.type }}
{% endfor %}
{% endfor %}