mail-server/ansible/templates/acme-client.conf

13 lines
396 B
Plaintext
Raw Normal View History

2024-05-25 21:11:17 +01:00
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') %}
2024-05-25 21:11:17 +01:00
domain "{{ domain }}" {
domain key "/etc/ssl/private/{{ domain }}.key"
domain full chain certificate "/etc/ssl/{{ domain }}.fullchain.pem"
sign with letsencrypt
}
{% endfor %}