diff --git a/molecule/default/cleanup.yml b/molecule/default/cleanup.yml index 53e971d..f741422 100644 --- a/molecule/default/cleanup.yml +++ b/molecule/default/cleanup.yml @@ -24,4 +24,4 @@ ansible.builtin.file: path: "{{ sonarqube_config_path | expanduser | realpath }}/docker-compose.yml" state: absent - when: docker_compose_file.stat.exists \ No newline at end of file + when: docker_compose_file.stat.exists diff --git a/tasks/config.yml b/tasks/config.yml index 9f8301b..021f444 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -15,7 +15,7 @@ - name: "SONARQUBE | Write configuration files" ansible.builtin.template: src: "{{ item }}.j2" - dest: "{{ sonarqube_config_path | expanduser | realpath }}/{{ item }}" + dest: "{{ sonarqube_config_path | expanduser | realpath }}/{{ item }}" mode: '0640' with_items: - "{{ sonarqube_configuration_files }}" diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 0d58737..e5ff135 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -41,4 +41,4 @@ volumes: sonarqube_extensions: networks: - sonarqube-net: {} \ No newline at end of file + sonarqube-net: {} diff --git a/templates/env.db.conf.j2 b/templates/env.db.conf.j2 index 730ef4b..848246a 100644 --- a/templates/env.db.conf.j2 +++ b/templates/env.db.conf.j2 @@ -1,4 +1,4 @@ # Database configuration POSTGRES_USER={{ sonarqube_db_user }} POSTGRES_PASSWORD={{ sonarqube_db_password }} -POSTGRES_DB=sonarqube \ No newline at end of file +POSTGRES_DB=sonarqube