# Confusing ansible-lint message, behavior

**URL:** <https://forum.ansible.com/t/confusing-ansible-lint-message-behavior/2974>\
**Category:** Get Help\
**Tags:** ansible-lint\
**Created:** [December 18, 2023, 8:58pm UTC](https://forum.ansible.com/t/confusing-ansible-lint-message-behavior/2974 "2023-12-18T20:58:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![utoddl](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/utoddl/32/249_2.png) [@utoddl](https://forum.ansible.com/u/utoddl)\
**Post date:** [December 18, 2023, 8:58pm UTC](https://forum.ansible.com/t/confusing-ansible-lint-message-behavior/2974/1 "2023-12-18T20:58:28Z")

</div>

I’m hitting the following messages from `ansible-lint`:

```txt
WARNING Listing 112 violation(s) that are fatal
WARNING A rule (load-failure) that is not part of a collection cannot access its configuration.

```

after which linting stops. The first WARNING is expected because I didn’t pass a `-c` parameter. It’s the second one that has me baffled. No summary is printed. This is after quite a few “lintables” have been processed, right at the end of the run.

What’s going on?

```auto
$ ansible-lint --version
ansible-lint 6.21.1 using ansible-core:2.14.7 ansible-compat:4.1.10 ruamel-yaml:None ruamel-yaml-clib:None

```

---

<div class="post-metadata">

**Author:** ![kralewitz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kralewitz/32/2303_2.png) [@kralewitz](https://forum.ansible.com/u/kralewitz)\
**Post date:** [February 13, 2024, 2:51pm UTC](https://forum.ansible.com/t/confusing-ansible-lint-message-behavior/2974/2 "2024-02-13T14:51:41Z")

</div>

Hello, I found this thread after running into the same error message today.

In my case, it was triggered by linting a role which was calling a custom `test` plugin that was missing from our plugins dir.

Versions:

```auto
ansible-lint 24.2.0 using ansible-core:2.16.3 ansible-compat:4.1.11 ruamel-yaml:0.18.6 ruamel-yaml-clib:0.2.8

```

---

<div class="post-metadata">

**Author:** ![ajinkyau](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ajinkyau/32/1094_2.png) [@ajinkyau](https://forum.ansible.com/u/ajinkyau)\
**Post date:** [February 19, 2024, 9:19am UTC](https://forum.ansible.com/t/confusing-ansible-lint-message-behavior/2974/3 "2024-02-19T09:19:30Z")

</div>

@utoddl @kralewitz Related issue on `ansible-lint` repo: [Linting result of include\_role with wrong syntax is suppressed · Issue #4007 · ansible/ansible-lint · GitHub](https://github.com/ansible/ansible-lint/issues/4007)

A PR is up for it.

Thanks
