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