Add rule to enforce string quoting style #3937
Unanswered
nre-ableton
asked this question in
New rules
Replies: 2 comments
-
(Somewhat related to #584) |
Beta Was this translation helpful? Give feedback.
0 replies
-
For more views: https://stackoverflow.com/questions/19109912/yaml-do-i-need-quotes-for-strings-in-yaml |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Although Ansible's YAML documentation does not make specific recommendations on quoting style, it implicitly prefers unquoted strings except for the numerous YAML "gotchas". However, an info box in the Windows usage documentation says:
IMHO this isn't a very good best-practice for playbooks, but I wish that whatever the preferred quoting style is,
ansible-lint
had some built-in capabilities to enforce it.Beta Was this translation helpful? Give feedback.
All reactions