mail-server/ansible/templates/acme-client.conf
2024-05-28 23:03:37 +03:00

13 lines
396 B
Plaintext

authority letsencrypt {
api url "https://acme-v02.api.letsencrypt.org/directory"
account key "/etc/acme/letsencrypt-privkey.pem"
}
{% for domain in lookup('vars', inventory_hostname + '_domains') %}
domain "{{ domain }}" {
domain key "/etc/ssl/private/{{ domain }}.key"
domain full chain certificate "/etc/ssl/{{ domain }}.fullchain.pem"
sign with letsencrypt
}
{% endfor %}