Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f951c1b8b | |||
| 930537c825 | |||
| 12a617955c | |||
| d509b4e788 | |||
| 43c3d4dbc3 | |||
| f9a98017a3 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,6 +6,7 @@ __pycache__
|
||||
.molecule
|
||||
.cache
|
||||
.venv
|
||||
.scannerwork
|
||||
|
||||
*.iml
|
||||
.idea
|
||||
|
||||
16
CHANGELOG.md
16
CHANGELOG.md
@@ -2,6 +2,22 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
### [1.1.4](https://git.laurivan.com/Dev/ansible-role-sonarqube/compare/v1.1.3...v1.1.4) (2023-04-29)
|
||||
|
||||
### [1.1.3](https://git.laurivan.com/Dev/ansible-role-sonarqube/compare/v1.1.2...v1.1.3) (2023-04-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Fix the DB healthcheck to use custom user. ([d509b4e](https://git.laurivan.com/Dev/ansible-role-sonarqube/commit/d509b4e788b40fd15708c721d6af55e68a922966))
|
||||
|
||||
### [1.1.2](https://git.laurivan.com/Dev/ansible-role-sonarqube/compare/v1.1.1...v1.1.2) (2023-04-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Sudo for limit changes ([f9a9801](https://git.laurivan.com/Dev/ansible-role-sonarqube/commit/f9a98017a3f1d58bf72aa818eb5a0447bcd0b80f))
|
||||
|
||||
### [1.1.1](https://git.laurivan.com/Dev/ansible-role-sonarqube/compare/v1.1.0...v1.1.1) (2023-04-28)
|
||||
|
||||
|
||||
|
||||
7
sonar-project.properties
Normal file
7
sonar-project.properties
Normal 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
|
||||
@@ -33,17 +33,20 @@
|
||||
# Type "-" for enforcing both soft and hard resource limits together for more details read `man limits.conf`.
|
||||
- { limit_type: '-', limit_item: 'nofile', value: "{{ sonarqube_nofile }}" }
|
||||
- { limit_type: '-', limit_item: 'nproc', value: "{{ sonarqube_nproc }}" }
|
||||
become: true
|
||||
|
||||
- name: "SONARQUBE | Set up the max files"
|
||||
sysctl:
|
||||
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"
|
||||
sysctl:
|
||||
name: vm.max_map_count
|
||||
value: "{{ sonarqube_vm_max_map_count }}"
|
||||
state: present
|
||||
reload: yes
|
||||
reload: true
|
||||
become: true
|
||||
|
||||
@@ -29,7 +29,7 @@ services:
|
||||
image: "{{ sonarqube_db_image }}"
|
||||
restart: always
|
||||
healthcheck:
|
||||
test: /usr/bin/pg_isready
|
||||
test: /usr/bin/pg_isready -U "{{ sonarqube_db_user }}""
|
||||
interval: 5s
|
||||
timeout: 10s
|
||||
retries: 120
|
||||
|
||||
Reference in New Issue
Block a user