From b3432d7400c08f005631e6beeb9827aaed0221f7 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) --- 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 cdd1fc07a6..fbf9dd44e0 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -337,7 +337,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([]) {{ '}}' }}" - name: Hiera symlink file: @@ -471,7 +471,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