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 May 09, 2023 at 04:03:50 UTC.
You are viewing docs for the latest stable release, 3006.1. Switch to docs for the previous stable release, 3005.1, or to a recent doc build from the master branch.
© 2023 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy