diff --git a/roles/setup-http-site-forward/templates/apache-docker-forward-site.j2 b/roles/setup-http-site-forward/templates/apache-docker-forward-site.j2 index 1fc1fc3..686c2ba 100644 --- a/roles/setup-http-site-forward/templates/apache-docker-forward-site.j2 +++ b/roles/setup-http-site-forward/templates/apache-docker-forward-site.j2 @@ -1,4 +1,8 @@ +{% if 'address' in ansible_default_ipv6 %} +{% else %} + +{% endif %} ServerAdmin {{ server_admin }} ServerName {{ site_name }} ServerAlias {{ site_name }} @@ -15,7 +19,11 @@ +{% if 'address' in ansible_default_ipv6 %} +{% else %} + +{% endif %} ServerAdmin {{ server_admin }} ServerName {{ site_name }} ServerAlias {{ site_name }}