Lego fails on account changes #6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The lego role / renew script fails when the account info changes but the instance name persists. I.e. when changing letsencrypt environments.
Maybe add some kind of logic / error handling?
Lego's filesystem structure is the cause for this here:
due to the changing
account
(oracme_server
for that matter), the ansible role needs to:lego_acme_server_url
is the same (by checking if the folder exists in the filesystem)lego_acme_account_email
is the same (by checking if the folder exists in the filesystem and has anaccount.json
inside itThis should be checked in
roles/lego/files/lego_run.sh#L14
and then switch the action torun
(fromrenew
).