add missing dirs to certbot command

This commit is contained in:
Robert Kaussow 2018-06-23 18:37:26 +02:00
parent 6114abc830
commit f4d4d6c29c

View File

@ -33,7 +33,12 @@
minute: 55 minute: 55
hour: 3 hour: 3
user: "{{ certbot_user }}" user: "{{ certbot_user }}"
job: "certbot {{ certbot_command_arguments | join(' ') }}" job: >
"certbot
--config-dir {{ certbot_config_dir }}
--work-dir {{ certbot_work_dir }}
--logs-dir {{ certbot_log_dir }}
{{ certbot_command_arguments | join(' ') }}"
cron_file: "{{ certbot_cronfile | default(omit) }}" cron_file: "{{ certbot_cronfile | default(omit) }}"
become: True become: True
become_user: "{{ certbot_user }}" become_user: "{{ certbot_user }}"