From f4685768abdf1b3aee337f8b6f62c8c4ba8e6ce3 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 27 Oct 2020 17:11:36 +0100 Subject: [PATCH] Also fix the variable that sets the image name --- defaults/main.yml | 2 +- templates/epas-client-timbrature-docker-compose.yml.j2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 95d66a6..4eadb92 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,6 +1,6 @@ --- epas_client_timbrature_stack_name: 'epas_c_timbrature' -epas_client_timbrature_docker_service_server_name: 'epas_timbrature' +epas_client_timbrature_service_name: 'epas_timbrature' epas_client_timbrature_docker_registry: 'docker-registry.services.iit.cnr.it' epas_client_timbrature_docker_registry_user: 'epas.user' epas_client_timbrature_docker_registry_pwd: 'use a vault file' diff --git a/templates/epas-client-timbrature-docker-compose.yml.j2 b/templates/epas-client-timbrature-docker-compose.yml.j2 index 497b84f..b41533e 100644 --- a/templates/epas-client-timbrature-docker-compose.yml.j2 +++ b/templates/epas-client-timbrature-docker-compose.yml.j2 @@ -10,8 +10,8 @@ volumes: {{ epas_client_timbrature_data_volume }}: services: - {{ epas_client_timbrature_docker_service_server_name }}: - image: {{ epas_client_timbrature_docker_server_image }} + {{ epas_client_timbrature_service_name }}: + image: {{ epas_client_timbrature_docker_client_timbrature_image }} {% if epas_client_timbrature_behind_haproxy %} networks: - {{ epas_client_timbrature_haproxy_public_net }}