From 1b99ec682d791cc47f25ffafa548a540f0da498a Mon Sep 17 00:00:00 2001 From: Laur Ivan Date: Fri, 28 Apr 2023 18:04:36 +0200 Subject: [PATCH] chore: Add README. --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0693c5a..226824a 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,21 @@ None All variables are listed below (see also `defaults/main.yml`). -```yml ---- -``` +| Name | Description | Default | +| ---: | --- | ---: | +| `sonarqube_image` | The sonarqube docker image | sonarqube | +| `sonarqube_db_image` | The database docker image | postgres | +| `sonarqube_http_port` | The published HTTP port | 9000 | +| `sonarqube_api_port` | The API port | 9001 | +| `sonarqube_vm_max_map_count` | Elastic search VM max map count | 524288 | +| `sonarqube_fs_file_max` | Elastic search max files opened | 131072 | +| `sonarqube_nofile` | Number of files opened | 131072 | +| `sonarqube_nproc` | Number of processes operened | 8192 | +| `sonarqube_config_path` | Location of the docker compose configuration | /var/local/conf/sonarqube | +| `sonarqube_db_user` | The database user name | changeme | +| `sonarqube_db_password` | The database password | changeme | + +Other variables declared in `defaults/main.yml` are defined for internal purposes and you should not touch/change them. ## Dependencies @@ -23,7 +35,7 @@ You need a machine with docker and docker-compose installed. ```yml - hosts: servers roles: - - 'laurivan.Sonarqube' + - 'laurivan.sonarqube' ``` ## License @@ -40,7 +52,6 @@ This role was created in 2023 by [Laur Ivan](https://www.laurivan.com). ![Ansible](https://img.shields.io/badge/ansible-5.2.0-green.svg) ![Molecule](https://img.shields.io/badge/molecule-3.4.0-green.svg) -![Goss](https://img.shields.io/badge/goss-0.3.16-green.svg) ## Contributing