chore: Add SonarLint

This commit is contained in:
Laur Ivan 2023-04-29 16:18:30 +02:00
parent 12a617955c
commit 930537c825
3 changed files with 11 additions and 3 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ __pycache__
.molecule .molecule
.cache .cache
.venv .venv
.scannerwork
*.iml *.iml
.idea .idea

7
sonar-project.properties Normal file
View File

@ -0,0 +1,7 @@
sonar.projectKey=ansible-role-sonarqube
sonar.projectVersion=main
sonar.projectName=ansible-role-sonarqube
sonar.language=ansible,yaml
sonar.sources=.
sonar.host.url=http://10.0.0.27:39000

View File

@ -40,7 +40,7 @@
name: fs.file-max name: fs.file-max
value: "{{ sonarqube_fs_file_max }}" value: "{{ sonarqube_fs_file_max }}"
state: present state: present
reload: yes reload: true
become: true become: true
- name: "SONARQUBE | Set up the VM max_map_count" - name: "SONARQUBE | Set up the VM max_map_count"
@ -48,5 +48,5 @@
name: vm.max_map_count name: vm.max_map_count
value: "{{ sonarqube_vm_max_map_count }}" value: "{{ sonarqube_vm_max_map_count }}"
state: present state: present
reload: yes reload: true
become: true become: true