Score:0

How to check a single rule with ansible-lint?

in flag

How do I check just the yaml: truthy value should be one of [false, true] (truthy) and nothing else?

Score:1
in flag

The truth value check is part of the yamllint checks wrapped in ansible-lint. You can execute just the truthy check by executing:

yamllint --config-data "{rules: {truthy: enable}}" .

Check the documentation for further options.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.