Force type casting to boolean in dhcp flag

That is going to fall under true if we pass it
as string, causing our tests to fail.

Change-Id: Ie87d624c876f36ad1ded7f9b250c38958cf8937e
This commit is contained in:
Yolanda Robla 2016-02-03 17:00:34 +01:00
parent 2e19f19fc7
commit d94359f8e4

View File

@ -1,5 +1,5 @@
# This file is managed by bifrost
{% if inventory_dhcp_static_ip %}
{% if inventory_dhcp_static_ip | bool %}
{{ nics[0]['mac'] }},{{provisioning_ipv4_address}},{{name}},12h
{% else %}
{{ nics[0]['mac'] }},{{name}},12h