4 Commits

Author SHA1 Message Date
12a617955c chore(release): 1.1.3 2023-04-28 18:37:55 +02:00
d509b4e788 fix: Fix the DB healthcheck to use custom user. 2023-04-28 18:37:47 +02:00
43c3d4dbc3 chore(release): 1.1.2 2023-04-28 18:15:06 +02:00
f9a98017a3 fix: Sudo for limit changes 2023-04-28 18:14:53 +02:00
3 changed files with 19 additions and 2 deletions

View File

@@ -2,6 +2,20 @@
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.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)

View File

@@ -33,6 +33,7 @@
# 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:
@@ -40,10 +41,12 @@
value: "{{ sonarqube_fs_file_max }}"
state: present
reload: yes
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: yes
become: true

View File

@@ -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