From 0942b3784d8ac0d72a640d046665469ec9057a5f Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 30 Aug 2019 17:06:27 -0400 Subject: [PATCH] Rename pre/post deployments host vars To reflect the change done in dependency, we need to change the variable name. Change-Id: Id0f708e6d6ce9565a5569716edfe993c7eceabaa Related-Bug: #1842141 Depends-On: Idbdd6a21eb2cd488daa1e3ddc844b4fc5267047c (cherry picked from commit 20a329f87d695265b919d32b74a65a08ec0a0029) (cherry picked from commit 3da7bca86443e03c72de8a9907f90317fdfc2cf3) --- common/deploy-steps.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2 index e59db8f01c..b21a17d099 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -433,7 +433,7 @@ outputs: - include_tasks: deployments.yaml vars: force: false - with_items: "{{ '{{' }} lookup('vars', tripleo_role_name + '_pre_deployments')|default([]) {{ '}}' }}" + with_items: "{{ '{{' }} lookup('vars', 'pre_deployments_' + tripleo_role_name)|default([]) {{ '}}' }}" tags: - overcloud - pre_deploy_steps @@ -521,7 +521,7 @@ outputs: - include_tasks: deployments.yaml vars: force: false - with_items: "{{ '{{' }} lookup('vars', tripleo_role_name + '_post_deployments')|default([]) {{ '}}' }}" + with_items: "{{ '{{' }} lookup('vars', 'post_deployments_' + tripleo_role_name)|default([]) {{ '}}' }}" tags: - overcloud - post_deploy_steps