fix ansible warnings
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2020-04-20 23:39:41 +02:00
parent 0514e2d8ce
commit ad5c0a1f31
2 changed files with 3 additions and 3 deletions

View File

@ -30,8 +30,8 @@ certbot_command_arguments:
# @var certbot_cron_enabled:description: Enable scheduling via cron.
certbot_cron_enabled: True
certbot_cron_minute: 30
certbot_cron_hour: 3
certbot_cron_minute: "30"
certbot_cron_hour: "3"
# @var certbot_cron_file:description: Use a file under /etc/cron.d but this will only work if `certbot_user`
# has write permissions for this location.

View File

@ -33,7 +33,7 @@
src: config/credentials.ini.j2
dest: "{{ certbot_config_dir }}/credentials.ini"
mode: 600
when: certbot_credentials
when: certbot_credentials | default([]) | length > 0
- name: Schedule certbot run
cron: