Krikri::JinjaHostContext
Inherits KrikriJinja::HostContext < Reference < Object
Controller-side state handed to the krikri-jinja registrations that need
Krikri's own variable scope, which the engine cannot know about on its
own. Passed through the shard's host-context hook so a registration can
resolve {{ some_registered_var is failed }}-style tests (and lookups)
against the same scope the rest of the engine uses.
Constructors
Instance methods
lookup_variables
Ansible hands a lookup plugin the whole variable scope plus the
omit sentinel; a role-local lookup_plugins/*.py reads both.
The registered result named by a test's first argument, or nil when the name is missing or does not hold a module result.
vars
Source