Closed chrisvanmeer closed 7 months ago
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
Not stale by choice.
This issue is no longer marked for closure.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
Problem
I am in the position that I have two plays using
certbot
. The reason for thesetwo plays is that each of them uses a different authenticator on the same host. One uses TransIP, the other uses PowerDNS.
When setting
certbot_auto_renew: true
a cron job is created in/etc/cron.d
with the name of
ansible_certbot-auto-renewal
. My problem is that this is afixed file name. Whenever I run both plays, the cron file is overwritten by the
play that runs last.
Suggestion
Add a
certbot_auto_renew_cron_file
andcertbot_auto_renew_cron_name
variable, allowing us to create multiple auto-renew cron jobs.
Workaround
Set
certbot_auto_renew
tofalse
and create a task to create the cron job byusing the same variables as defined except changing the name and file.