class

Krikri::TemplateSearchPathLoader

Inherits KrikriJinja::Loader < Reference < Object

Ansible searches a role's template includes across the template's own directory, its templates/ ancestors, and the role root (a template can {% include 'templates/other.j2' %} by a role-root-relative path), while krikri-jinja's FileSystemLoader is rooted at a single directory.

Constructors

new(paths : Array(String))
Source

Instance methods

get_source(name : String) : String | Nil
Source
paths
Source