Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Fixes dashboard and vagrant_ip zeroes issue #730

Merged
merged 1 commit into from
Jun 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions provisioning/templates/dashboard.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
</style>
</head>
<body>
{# 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' -%}
Expand Down