feat: add certbot_max_log_backups
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-06-04 08:45:03 +02:00
parent ce1806c95b
commit ea7b90b01c
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,8 @@ certbot_work_dir: /var/lib/letsencrypt
certbot_config_dir: /etc/letsencrypt certbot_config_dir: /etc/letsencrypt
certbot_log_dir: /var/log/letsencrypt certbot_log_dir: /var/log/letsencrypt
certbot_max_log_backups: 30
certbot_preferred_challenges: dns certbot_preferred_challenges: dns
certbot_server: https://acme-v02.api.letsencrypt.org/directory certbot_server: https://acme-v02.api.letsencrypt.org/directory
certbot_email: mail@example.com certbot_email: mail@example.com

View File

@ -91,6 +91,7 @@
--config-dir {{ certbot_config_dir }} --config-dir {{ certbot_config_dir }}
--work-dir {{ certbot_work_dir }} --work-dir {{ certbot_work_dir }}
--logs-dir {{ certbot_log_dir }} --logs-dir {{ certbot_log_dir }}
--max-log-backups {{ certbot_max_log_backups }}
{{ certbot_command_arguments | join(' ') }} {{ certbot_command_arguments | join(' ') }}
-n -d {{ item.domains | join(',') }} -n -d {{ item.domains | join(',') }}
cron_file: "{{ certbot_cron_file | default(omit) }}" cron_file: "{{ certbot_cron_file | default(omit) }}"

View File

@ -5,6 +5,7 @@
--config-dir {{ certbot_config_dir }} --config-dir {{ certbot_config_dir }}
--work-dir {{ certbot_work_dir }} --work-dir {{ certbot_work_dir }}
--logs-dir {{ certbot_log_dir }} --logs-dir {{ certbot_log_dir }}
--max-log-backups {{ certbot_max_log_backups }}
--agree-tos --agree-tos
{{ certbot_command_arguments | join(' ') }} {{ certbot_command_arguments | join(' ') }}
-n -d {{ item.domains | join(',') }} -n -d {{ item.domains | join(',') }}