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