Open
Description
Summary
Rules for yamllint set to warning aren't automatically warnings in ansible-lint as well. It only does that when the rule is also added to warn_list
, which is duplicating configs.
Issue Type
- Bug Report
OS / ENVIRONMENT
ansible-lint --version
ansible-lint 24.9.2 using ansible-core:2.17.4 ansible-compat:24.9.1 ruamel-yaml:0.18.6 ruamel-yaml-clib:0.2.8
- ansible installation method: OS package
- ansible-lint installation method: OS package
STEPS TO REPRODUCE
.yamllint
---
rules:
line-length:
level: warning
allow-non-breakable-inline-mappings: true
Desired Behavior
yaml[line-length]: Line too long (413 > 80 characters) (warning)
initiate.yml:25
yaml[line-length]: Line too long (413 > 80 characters) (warning)
initiate.yml:29
Actual Behavior
yaml[line-length]: Line too long (413 > 80 characters)
initiate.yml:25
yaml[line-length]: Line too long (413 > 80 characters)
initiate.yml:29
Metadata
Assignees
Type
Projects
Status
No status