How to exclude a certain linenumber of an Ansible playbook when testing it using Molecule?
According to the yamllint documentation you need to add a special comment to the line -- &lt;string-to-be-excluded&gt;  # yamllint disable-line rule:line-length

---
#defaults/main
firefox_checksum: sha512:49d776cfb5f42c6e5ea1a55a80d9f6bad223080b16baa0d39de63534c25e68340091b4e16be5355d565f81291cb94fb996f03ae7e3e4c7a28021b0a0929daf58 #yamllint disable-line rule:line-length