2021-01-24 20:04:03 +01:00
|
|
|
# vim:syntax=yaml
|
|
|
|
{%- from "acme/map.jinja" import acme with context %}
|
2021-07-11 17:37:42 +02:00
|
|
|
---
|
2022-10-01 20:10:31 +02:00
|
|
|
{% for k, v in acme.certificates.items() %}
|
|
|
|
pki-fetched-{{ k }}:
|
2021-07-11 17:37:42 +02:00
|
|
|
pki.fetched:
|
2022-10-01 20:10:31 +02:00
|
|
|
- name: pki-fetched-nginx
|
2021-07-18 10:02:15 +02:00
|
|
|
- url: {{ acme.provider.pki.url }}
|
|
|
|
- username: {{ acme.provider.pki.username }}
|
|
|
|
- password: {{ acme.provider.pki.password }}
|
2022-10-01 20:10:31 +02:00
|
|
|
- domains: {{ v.domains }}
|
|
|
|
- certfile: {{ v.certfile }}
|
|
|
|
- fullcertfile: {{ v.fullcertfile }}
|
|
|
|
- keyfile: {{ v.keyfile }}
|
|
|
|
{% endfor %}
|