tripleo-validations/roles/dhcp-validations/tasks
Gael Chamoulaud d483ace379 Fix Jinja2's default filter usage
The default() filter provided by Jinja2 treats the special class
Undefined differently from False-y Python values. By default, default()
will only return its first argument if the prior expression evaluates to
Undefined. The second boolean parameter asks the function to also accept
Python False-y values as undefined and return the default value.

In these two roles, the variables retrieved from configuration files may
not be present and the default function won't work since these variables
will be 'Undefined' or set to an empty string.

Change-Id: Ib2cb1f94c71409477eb18d55f160d57dc5850ead
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2019-05-14 11:41:56 +02:00
..
dhcp-introspection.yaml Add dhcp-validations role 2019-03-15 10:36:13 +01:00
dhcp-provisioning.yaml Fix Jinja2's default filter usage 2019-05-14 11:41:56 +02:00