add option to disable letsencrypt account registration
This commit is contained in:
parent
5fed534210
commit
81a6239341
2 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
certificates:
|
||||
disable_letsencrypt_account_registration: False
|
||||
backends:
|
||||
letsencrypt:
|
||||
remainingdays: 28
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue