diff --git a/playbooks/roles/bifrost-deploy-nodes-dynamic/templates/dhcp-host.j2 b/playbooks/roles/bifrost-deploy-nodes-dynamic/templates/dhcp-host.j2 index da4b107be..6484dd532 100644 --- a/playbooks/roles/bifrost-deploy-nodes-dynamic/templates/dhcp-host.j2 +++ b/playbooks/roles/bifrost-deploy-nodes-dynamic/templates/dhcp-host.j2 @@ -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