From ac3fecbaca72a4f528b0b3d857c277fa8b6ef842 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 15 Oct 2022 22:23:36 +0200 Subject: [PATCH] add variable in db --- inventory/group_vars/db | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/inventory/group_vars/db b/inventory/group_vars/db index c79181c..3be3a64 100644 --- a/inventory/group_vars/db +++ b/inventory/group_vars/db @@ -1,4 +1,7 @@ +postgres_url: db.valczeryba.ovh postgres_db: toto +postgres_port: 54321 + project_src: "/home/valentin/db" project_name: "covas-liquibase" @@ -11,6 +14,9 @@ docker_compose_file: "docker-compose-db.yml" project_env: "env-db.j2" +redis_url: redis.valczeryba.ovh +redis_port: 63791 ports_tcp: - - 54321 - - 63791 \ No newline at end of file + - "{{ postgres_port }}" + - "{{ redis_port }}" +