diff --git a/.gitignore b/.gitignore index 2100e33..c1043c3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ __pycache__ .molecule .cache .venv +.scannerwork *.iml .idea diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..acebbfc --- /dev/null +++ b/sonar-project.properties @@ -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 \ No newline at end of file diff --git a/tasks/config.yml b/tasks/config.yml index d0d5593..a2db596 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -40,7 +40,7 @@ name: fs.file-max value: "{{ sonarqube_fs_file_max }}" state: present - reload: yes + reload: true become: true - name: "SONARQUBE | Set up the VM max_map_count" @@ -48,5 +48,5 @@ name: vm.max_map_count value: "{{ sonarqube_vm_max_map_count }}" state: present - reload: yes - become: true \ No newline at end of file + reload: true + become: true