truthy value should be one of [false, true] #2305
-
ansible-lint, by way of yamllint, reports: "truthy value should be one of [false, true]" when using no or yes instead of false or true. But the documentation of all modules I checked use yes and no. For instance ansible.builtin.user for the append, create_home, force, generate_ssh_key, hidden, local, move_home, non_unique, password_lock. remove and system parameters (which is a lot). So ansible-lint is not consistent with Ansible documentation. Of course, .ansible-lint makes it possible to silence those warnings but shouldn't it be done by default? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Massive work in progress, see e.g ansible/ansible#78429 |
Beta Was this translation helpful? Give feedback.
Massive work in progress, see e.g ansible/ansible#78429