Disable line-length Yamllint rule in Molecule
Just a quick post on how to disable the yamllint line-length rule in molecule tests (I’m always forgetting).
....roles/mongodb_repository/tasks/main.yml
8:81 error line too long (104 > 80 characters) (line-length)
10:81 error line too long (81 > 80 characters) (line-length)
27:81 error line too long (124 > 80 characters) (line-length)
34:81 error line too long (130 > 80 characters) (line-length)
Disable the rule as shown below…
lint:
name: yamllint
options:
config-data:
line-length: disable