Solved testing mode bug

This commit is contained in:
2025-09-19 11:18:29 +02:00
parent a10ba78a5a
commit 61772d5916
3 changed files with 12 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
{% else %}
--letsencrypt-webroot-path "{{ LETSENCRYPT_WEBROOT_PATH }}"
{% endif %}
{{ '--mode-test' if MODE_TEST | bool else '' }}
{{ '--mode-test' if MODE_DUMMY | bool else '' }}
register: certbundle_result
changed_when: >
('certificate not yet due for renewal' not in (certbundle_result.stdout | lower | default('')))