add option to disable letsencrypt account registration

This commit is contained in:
nd 2021-02-12 21:29:44 +01:00
parent 5fed534210
commit 81a6239341
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 4 additions and 1 deletions

View file

@ -8,7 +8,9 @@
mode: 0600
- name: register letsencrypt account
when: letsencrypt_account_key is changed
when:
- letsencrypt_account_key is changed
- not certificates.disable_letsencrypt_account_registration
acme_account:
account_key_src: /etc/ssl/letsencrypt_account.key
state: present