diff --git a/provisioning/templates/dashboard.html.j2 b/provisioning/templates/dashboard.html.j2 index db8e0894a..99eaf6e17 100644 --- a/provisioning/templates/dashboard.html.j2 +++ b/provisioning/templates/dashboard.html.j2 @@ -19,6 +19,10 @@
+ {# Sets vagrant IP if equals 0.0.0.0 #} + {%- if vagrant_ip == '0.0.0.0' -%} + {%- set vagrant_ip = ansible_all_ipv4_addresses[1] -%} + {%- endif -%} {# Returns the hosts server name based on the document root #} {%- macro getServernameFromDocroot(path) -%} {%- if drupalvm_webserver == 'apache' -%}