changed default postgres logic and optimized discourse postgres integration

This commit is contained in:
2024-01-05 11:27:04 +01:00
parent 9318333e77
commit 7ee06df3ba
11 changed files with 3 additions and 10 deletions

View File

@@ -17,7 +17,6 @@ This Ansible role is designed for setting up and managing a GitLab server runnin
Variables are defined in `vars/main.yml`. Key variables include:
- `docker_compose_instance_directory`: Directory for Docker Compose instances.
- `docker_compose_project_name`, `database_host`, `database_databasename`, `database_username`, `database_password`: Database configuration variables.
- `database_version`: PostgreSQL version, with a default fallback.
## Handlers
- `recreate gitlab`: Restarts GitLab using Docker Compose when changes are detected.

View File

@@ -1,4 +1,3 @@
docker_compose_project_name: "gitlab"
database_password: "{{gitlab_database_password}}"
database_version: "{{ gitlab_database_version | default(postgres_default_version) }}"
database_type: "postgres"