Browse Source

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 20a329f87d)
(cherry picked from commit 3da7bca864)
changes/28/680728/3
Emilien Macchi 2 weeks ago
parent
commit
0942b3784d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      common/deploy-steps.j2

+ 2
- 2
common/deploy-steps.j2 View File

@@ -433,7 +433,7 @@ outputs:
433 433
                 - include_tasks: deployments.yaml
434 434
                   vars:
435 435
                     force: false
436
-                  with_items: "{{ '{{' }} lookup('vars', tripleo_role_name + '_pre_deployments')|default([]) {{ '}}' }}"
436
+                  with_items: "{{ '{{' }} lookup('vars', 'pre_deployments_' + tripleo_role_name)|default([]) {{ '}}' }}"
437 437
               tags:
438 438
                 - overcloud
439 439
                 - pre_deploy_steps
@@ -521,7 +521,7 @@ outputs:
521 521
                 - include_tasks: deployments.yaml
522 522
                   vars:
523 523
                     force: false
524
-                  with_items: "{{ '{{' }} lookup('vars', tripleo_role_name + '_post_deployments')|default([]) {{ '}}' }}"
524
+                  with_items: "{{ '{{' }} lookup('vars', 'post_deployments_' + tripleo_role_name)|default([]) {{ '}}' }}"
525 525
               tags:
526 526
                 - overcloud
527 527
                 - post_deploy_steps

Loading…
Cancel
Save