From 1ecf2965ec46f48bde54d6aad83ba618a73b82c8 Mon Sep 17 00:00:00 2001 From: S M Y <smy.altamash@gmail.com> Date: Thu, 11 Jul 2019 20:00:46 +0530 Subject: [PATCH] Variablizing ES host for restore --- ansible/es.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/es.yml b/ansible/es.yml index 813a18560..52b9502a2 100644 --- a/ansible/es.yml +++ b/ansible/es.yml @@ -18,7 +18,7 @@ vars_files: - ['{{inventory_dir}}/secrets.yml', 'secrets/{{env}}.yml'] vars: - - es_restore_host: "{{app_es_restore_host}}" + - es_restore_host: "{{remote}}" - snapshot_base_path: "{{app_snapshot_base_path}}" roles: - es-azure-restore @@ -45,7 +45,7 @@ vars_files: - ['{{inventory_dir}}/secrets.yml', 'secrets/{{env}}.yml'] vars: - - es_restore_host: "{{log_es_restore_host}}" + - es_restore_host: "{{remote}}" - snapshot_base_path: "{{log_snapshot_base_path}}" roles: - es-azure-restore -- GitLab