Commit bfc1b509 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

add default false, and default 'certbot' to handle undefined

parent c362dcf9
......@@ -33,7 +33,7 @@
pause:
prompt: "Confirm that you want to renew your digicert certificate (y/n)"
register: "apache_digicert_confirm_renew"
when: "apache_digicert_renew | bool"
when: "apache_digicert_renew | default(false) | bool"
- name: "generate ssl private key"
......@@ -42,7 +42,7 @@
backup: "yes"
size: "2048"
loop: "{{ apache_vhosts }}"
when: "item.ssl_type == 'uib'"
when: "item.ssl_type | default('certbot')== 'uib'"
- name: "generate an OpenSSL Certificate Signin request"
openssl_csr:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment