class

KrikriJinja::MacroCallable

Inherits KrikriJinja::Callable < Reference < Object

Instance methods

call(args : Array(AnyValue), kwargs : Hash(String, AnyValue), ctx : Context) : AnyValue

ansible-core 2.19's AnsibleEnvironment.concat returns None for a body that emitted no nodes, so a macro whose output is entirely trimmed away yields None rather than '' ({{ m() | indent(2) }} then fails with "unsupported operand type(s) for +=: 'NoneType' and 'str'").

Source