(!) This role is tailored only for Cosium. It includes hard-coded LDAP parameters as well as the sonarqube-community-branch-plugin-1.8.1.jar plugin.
Required variables
| Variable |
Description |
Sample value |
| pg_version |
The postgres server version |
14 |
| sonarqube_url |
url for the web interface |
sonarqube.cosium.dev |
| sonarqube_version |
The sonarqube version |
9.9.1.69595 |
| sonarqube_postgres_password |
The sonarqube postgres database password, must be stored in hashicorp vault |
foo |
Optional variables
| Variable |
Description |
Default value |
Sample value |
| sonarqube_update_sonarqube_now |
Set this value to true to upgrade sonarqube to a newer version |
false |
true |
| sonarqube_download_url |
The url allowing to download the Sonarqube distribution archive. |
https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-{{ sonarqube_version }}.zip |
https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-{{ sonarqube_version }}.zip |
| sonarqube_java_heap_size |
Set the xmx of the 3 sonarqube engines (web, ce and es) |
None |
2048m |
| sonarqube_ce_jmx_config |
JMX parameters appended to the ce javaOpts. For now to disable it how have to set this param as an empty string |
See defaults/main.yml |
|
| sonarqube_web_jmx_config |
JMX parameters appended to the web javaAdditionalOpts. For now to disable it how have to set this param as an empty string |
See defaults/main.yml |
|
| sonarqube_jmx_user_list |
Sonarqube JMX monitoring users. |
- name: monitoring password: '{{ lookup(''hashi_vault'', ''secret=cosium-kv/data/group_vars/all'')[''zabbix_jmx_monitoring_password' '] }}' right: readonly
|
|
| sonarqube_cosium_community_branch_plugin_version |
Set this value to install a version of the sonarqube cosium community branch plugin version from nexus |
None |
1.14.0.1 |
| sonarqube_cosium_sonar_plugin_version |
Set this value to install a version of the sonarqube cosium private plugin version from nexus |
None |
1.9 |
| sonarqube_community_branch_plugin_version |
Set this value to install a version of the sonarqube community branch plugin version from public repo |
None |
1.14.0.1 |
| sonarqube_redaalaoui_sonar_java_no_var_plugin_version |
Set this value to install a version of the sonarqube sonar-java-no-var-plugin plugin version from public repo |
None |
1.9 |