action #175848
Updated by jbaier_cz 17 days ago
## Motivation
We regularly have invalid YAML in our salt repos because we can't easily validate .sls files with jinja tags.
A quite simple script replacing `{{ }}` and `{% %}` constructs with some dummy values can help us, although it can't catch everything.
## Suggestions
* Optionally create local yaml files if there is an error so user running it locally can see the generated YAML to better spot the mistake
* Look if [state.show_sls](https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.state.html#salt.modules.state.show_sls) can help