Ansible-lint not found rules

Hello.
I run sonnar-scanner in ansible-role.
But I get a conclusion:

INFO: Sensor Ansible Lint Sensor [ansible]
INFO: No active rules found for this plugin, skipping.
INFO: Sensor Ansible Lint Sensor [ansible] (done) | time=0ms

How to specify default rules for ansible-lint.

Hello,
You most probably did not activate any related rules in your quality profile.
Alex.

Hello,

I got the same issue

|[15:13:29] :| [Step 2/2] 13:13:28.471 INFO: Sensor Ansible Lint Sensor [ansible]|
|---|---|
|[15:13:29] :| [Step 2/2] 13:13:28.471 DEBUG: Ansible sensor executed with context: org.sonar.scanner.sensor.ModuleSensorContext@c82ad22|
|[15:13:29] :| [Step 2/2] 13:13:28.471 INFO: No active rules found for this plugin, skipping.|

Indeed in quality profile I don’t have any separate section for ansible, there is YAML section and those rules are used in YAMLLint.
Question is: how to provide any rule to use in fact the ansible-lint ?

If the correct way to provide rules for ansible is sonar.ansible.ansiblelint.conf.path - as I suspect - what is the file content, how the rules can be specyfied? Do you have any example?

Thanks,

In terms of ansible code I’d like to scan not only YAML but NINJA (j2) too. How to achieve this?