From b7826b857a1690fae93184a5169517831e510bfc Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Sun, 19 Jun 2022 13:49:21 -0400 Subject: [PATCH] haproxy: remove '.sh' from certbot_renew cron script apparently run-parts (which is used in the main crontab in busybox), doesn't accept any filenames that don't have the format: "^[a-zA-Z0-9_-]+$)" --- roles/haproxy/tasks/main.yml | 4 ++-- .../{certbot_renew_cron.sh.j2 => certbot_renew_cron.j2} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename roles/haproxy/templates/{certbot_renew_cron.sh.j2 => certbot_renew_cron.j2} (100%) diff --git a/roles/haproxy/tasks/main.yml b/roles/haproxy/tasks/main.yml index e242385..49c4453 100644 --- a/roles/haproxy/tasks/main.yml +++ b/roles/haproxy/tasks/main.yml @@ -34,8 +34,8 @@ - name: add certbot autorenew cron job template: - src: templates/certbot_renew_cron.sh.j2 - dest: /etc/periodic/weekly/certbot_renew.sh + src: templates/certbot_renew_cron.j2 + dest: /etc/periodic/weekly/certbot_renew mode: 0755 diff --git a/roles/haproxy/templates/certbot_renew_cron.sh.j2 b/roles/haproxy/templates/certbot_renew_cron.j2 similarity index 100% rename from roles/haproxy/templates/certbot_renew_cron.sh.j2 rename to roles/haproxy/templates/certbot_renew_cron.j2