parse_template
Convert Chef ERB templates to Jinja2 format for Ansible migration, extracting variables to simplify infrastructure configuration transitions.
Instructions
Parse a Chef ERB template file and convert to Jinja2.
Args: path: Path to the ERB template file.
Returns: JSON string with extracted variables and Jinja2-converted template.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |