salt.modules.yaml#
Yaml helper module for troubleshooting yaml
New in version 3005.
- depends:
yamllint >= 1.20.0
- salt.modules.yaml.lint(source, saltenv=None, pre_render=None, **kwargs)#
lint the output after detecting a sucsessful render.
- Parameters:
CLI Example:
salt '*' yaml.lint salt://example/bad_yaml.sls