diff --git a/templates/generate-cert.sh.j2 b/templates/generate-cert.sh.j2 index a3f2b1e..98586bb 100644 --- a/templates/generate-cert.sh.j2 +++ b/templates/generate-cert.sh.j2 @@ -27,7 +27,7 @@ if [ ! -d "$CERT" ]; then {% else %} -{% if certbot_freeipa %} +{% if certbot_freeipa | default (false) %} systemctl stop httpd {% endif %} @@ -40,7 +40,7 @@ if [ ! -d "$CERT" ]; then {% endif %} -{% if certbot_freeipa %} +{% if certbot_freeipa | default (false) %} systemctl start httpd {% endif %} {% endif %}