mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 15:26:50 +02:00
change: Add certbot renewal cronjob
This commit is contained in:
@@ -47,6 +47,11 @@ write_files:
|
|||||||
path: /run/tmpfiles.d/swarm-setup.sh
|
path: /run/tmpfiles.d/swarm-setup.sh
|
||||||
encoding: base64
|
encoding: base64
|
||||||
defer: true
|
defer: true
|
||||||
|
- owner: root:root
|
||||||
|
content: "0 3 * * 1 root certbot renew --quiet --deploy-hook \"docker service update --force nginx-deploy\"\n"
|
||||||
|
path: /etc/cron.d/certbot-renew
|
||||||
|
encoding: base64
|
||||||
|
defer: true
|
||||||
%{ endif ~}
|
%{ endif ~}
|
||||||
runcmd:
|
runcmd:
|
||||||
- install /run/tmpfiles.d/*.sh /usr/local/bin
|
- install /run/tmpfiles.d/*.sh /usr/local/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user