# [[Yamllint errors about truthy values in Ansible]] _Created: 2025-09-29_ | #ansible #yaml | [[Ansible]] By default `yamllint` complaints about perfectly valid `yes` or `no` values for certain defined keys like `gather_facts`, `become` etc. To tell `yamllint` this is ok, add the following in `.yamllint`: ```yaml --- extends: default rules: truthy: allowed-values: - 'true' - 'false' - 'yes' - 'no' ``` Source: [Ansible for Devops](https://leanpub.com/ansible-for-devops) by [Jeff Geerling](https://www.jeffgeerling.com/).