mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Change --dry-run to --test-cert
This commit is contained in:
parent
9c26e13484
commit
6e7eb12c80
@ -7,7 +7,7 @@ certbot_auto_renew_minute: 30
|
||||
certbot_auto_renew_options: "--quiet --no-self-upgrade"
|
||||
|
||||
# Parameters used when creating new Certbot certs.
|
||||
certbot_dry_run: false
|
||||
certbot_test_cert: false
|
||||
certbot_create_if_missing: false
|
||||
certbot_create_method: standalone
|
||||
certbot_admin_email: email@example.com
|
||||
@ -21,7 +21,7 @@ certbot_certs: []
|
||||
certbot_create_command: >-
|
||||
{{ certbot_script }} certonly --standalone --noninteractive --agree-tos
|
||||
--email {{ cert_item.email | default(certbot_admin_email) }}
|
||||
-d {{ cert_item.domains | join(',') }} {{ "--dry-run" if certbot_dry_run }}
|
||||
-d {{ cert_item.domains | join(',') }} {{ "--test-cert" if certbot_test_cert }}
|
||||
|
||||
certbot_create_standalone_stop_services:
|
||||
- nginx
|
||||
|
Loading…
x
Reference in New Issue
Block a user