Ansible not found in sonar-scanner-cli

Hi all

May Informations:

  • Scanner 8.0.1.6346
  • Is in Docker
  • Analyse Code with Ansible
  • When i start a scan with the sonar-scanner-cli and the project is ansible code i got that ansible and ansible-lint not found in scanner.

What is Best Practice to add ansible to scanner-cli? Creating own dockerimage?

kind regards

Oliver

Hi Oliver,

Welcome to the Community :tada:

Analysing Ansible is not supported in SonarQube Community Build. If you are trying this in a SonarQube Server, it should have automatically recognised and analysed the files. Please refer here to find supported versions and language-specific parameters - Ansible | SonarQube Server | Sonar Documentation

Thanks,
Aravind