diff --git a/roles/dehydrated/defaults/main.yml b/roles/dehydrated/defaults/main.yml index d3e3fb7..67a49e5 100644 --- a/roles/dehydrated/defaults/main.yml +++ b/roles/dehydrated/defaults/main.yml @@ -7,5 +7,6 @@ dehydrated_config_dir: "/usr/local/etc/dehydrated" dehydrated_certs_dir: "{{ dehydrated_config_dir }}/certs" dehydrated_wellknown_dir: "{{ dehydrated_config_dir }}/challenge" -dehydrated_cron_minute: 0 -dehydrated_cron_hour: 3 +dehydrated_cron_minute: "0" +dehydrated_cron_hour: "3" +dehydrated_cron_day: "*/5" diff --git a/roles/dehydrated/tasks/main.yml b/roles/dehydrated/tasks/main.yml index 77456f8..4f0d395 100644 --- a/roles/dehydrated/tasks/main.yml +++ b/roles/dehydrated/tasks/main.yml @@ -56,4 +56,5 @@ name: renew dehydrated certs hour: dehydrated_cron_hour minute: dehydrated_cron_minute + day: dehydrated_cron_day job: "{{ dehydrated_binary }} -c -g" \ No newline at end of file