Yaml helper module for troubleshooting yaml
New in version 3005.
yamllint >= 1.20.0
salt.modules.yaml.
lint
(source, saltenv=None, pre_render=None, **kwargs)¶lint the output after detecting a sucsessful render.
CLI Example:
salt '*' yaml.lint salt://example/bad_yaml.sls
Generated on August 05, 2022 at 04:04:21 UTC.
You are viewing docs built from a recent snapshot of the master branch. Switch to docs for the latest stable release, 3004.2.
© 2022 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy