diff --git a/defaults/main.yml b/defaults/main.yml index 3186d8e..19d62d4 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -7,6 +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_create_if_missing: false certbot_create_method: standalone certbot_admin_email: email@example.com @@ -20,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(',') }} + -d {{ cert_item.domains | join(',') }} {{ "--dry-run" if certbot_dry_run }} certbot_create_standalone_stop_services: - nginx