rename cron related variables
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-04-20 22:47:48 +02:00
parent d5a78a348f
commit f35134612d
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 }}"