2 Commits

Author SHA1 Message Date
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
2 changed files with 11 additions and 1 deletions

View File

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