From f35134612d8c21804c23d2e526026b95d4685996 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 20 Apr 2020 22:47:48 +0200 Subject: [PATCH] rename cron related variables --- defaults/main.yml | 4 ++-- tasks/install.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 3450a7b..6be5ae5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -26,8 +26,8 @@ certbot_command_arguments: - "certonly" - "-n -d {{ certbot_domains | join(',') }}" -# @var certbot_scheduler_enabled:description: Enable scheduling via cron. -certbot_scheduler_enabled: True +# @var certbot_cron_enabled:description: Enable scheduling via cron. +certbot_cron_enabled: True certbot_cron_minute: 30 certbot_cron_hour: 3 diff --git a/tasks/install.yml b/tasks/install.yml index 4314a16..f4c2c96 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -50,6 +50,6 @@ --logs-dir {{ certbot_log_dir }} {{ certbot_command_arguments | join(' ') }} cron_file: "{{ certbot_cron_file | default(omit) }}" - when: certbot_scheduler_enabled + when: certbot_cron_enabled become: True become_user: "{{ certbot_user }}"