parse(Optional[Enum['json', 'yaml']])
— Attempt to parse the result of the template as YAML, JSON, etc. This is useful, for example, if you want to use this template to generate structured output as part of your inventory.yaml to say generate a list of hosts. By default, we do NOT attempt to parse the output of the rendered template and smiply return the raw results.
template(String)
— An ERB template string that will be rendered and returned. TODO make this an arbitrary 'data' type (hashes/arrays) that can be rendered recursively.
variables(Optional[Hash])
— Hash of variables that will be populated into the ERB context. TODO setup another property that allows variables to be templates themselves