diff --git a/defaults/main.yml b/defaults/main.yml index 4cf9456..9350db3 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -83,6 +83,7 @@ haproxy_ssl_letsencrypt_download_url: "https://dl.eff.org/certbot-auto" haproxy_ssl_letsencrypt_venv: "/opt/eff.org/certbot/venv" haproxy_ssl_letsencrypt_config_path: "/etc/letsencrypt/live" haproxy_ssl_letsencrypt_install_path: "/opt/letsencrypt" +haproxy_ssl_letsencrypt_setup_extra_params: "" haproxy_ssl_letsencrypt_cron_minute: "0" haproxy_ssl_letsencrypt_cron_hour: "0" haproxy_ssl_letsencrypt_cron_weekday: "0" diff --git a/tasks/haproxy_ssl_letsencrypt.yml b/tasks/haproxy_ssl_letsencrypt.yml index 247c7dc..f4d0ab5 100644 --- a/tasks/haproxy_ssl_letsencrypt.yml +++ b/tasks/haproxy_ssl_letsencrypt.yml @@ -59,6 +59,7 @@ --rsa-key-size 4096 --email {{ haproxy_ssl_letsencrypt_email }} --domains {{ external_lb_vip_address }} + {{ haproxy_ssl_letsencrypt_setup_extra_params }} args: creates: "{{ haproxy_ssl_letsencrypt_config_path }}/{{ external_lb_vip_address }}-0001/fullchain.pem"