Add --email to acme.sh invocation.

Closes #28.
This commit is contained in:
Crest 2022-07-01 13:56:31 +02:00
parent 8ec0f09538
commit 428f4be8da
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@
meta: flush_handlers
- name: "Register Let's Encrypt account"
command: env sudo -u acme acme.sh --register-account --home /var/db/acme
command: 'env sudo -u acme acme.sh --email {{ haproxy_acme_email }} --server letsencrypt --register-account --home /var/db/acme'
args:
creates: /var/db/acme/ca/acme-v02.api.letsencrypt.org/account.json