class

Krikri::VariableSubstitutor::TemplateRecursionError

Inherits Exception < Reference < Object

Raised when re-templating a value's own {{ }} text exceeds MAX_RETEMPLATING_DEPTH - the shape of a mutually-templated variable pair (a: "{{ b }}" / b: "{{ a }}"), where resolving a re-renders b, whose value re-resolves a, forever. Real ansible-core fails the task with "Recursive loop detected in template"; this engine previously blew the C stack and crashed the whole process.