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
|[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?