mirror of
https://github.com/status-im/infra-role-certbot.git
synced 2025-02-20 14:48:10 +00:00
renew: add variable for optional --debug flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
dfd0bce4e5
commit
07fe3f0749
@ -12,6 +12,7 @@ certbot_certs: []
|
||||
# - example3.com
|
||||
|
||||
certbot_entrypoint: '/usr/bin/certbot'
|
||||
certbot_debug_logs: false
|
||||
certbot_create_arguments: >-
|
||||
certonly
|
||||
--standalone
|
||||
|
@ -14,7 +14,9 @@
|
||||
systemd_timer_restart_retries: '{{ certbot_auto_renew_restart_retries }}'
|
||||
systemd_timer_script_path: '{{ certbot_entrypoint }}'
|
||||
systemd_timer_start_on_creation: false
|
||||
systemd_timer_script_args: 'renew'
|
||||
systemd_timer_script_args: >-
|
||||
renew
|
||||
{% if certbot_debug_logs %}--debug{% endif %}
|
||||
systemd_timer_exec_start_pre: |
|
||||
{{ (["docker stop "] | product(certbot_containers_to_stop) | map("join")) +
|
||||
(["systemctl stop "] | product(certbot_services_to_stop) | map("join")) }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user