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/22/680722/4
Emilien Macchi 2 weeks ago
parent
commit
66631329b2
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      common/deploy-steps.j2

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

@@ -449,7 +449,7 @@ outputs:
449 449
                 - include_tasks: deployments.yaml
450 450
                   vars:
451 451
                     force: false
452
-                  with_items: "{{ '{{' }} lookup('vars', tripleo_role_name + '_pre_deployments')|default([]) {{ '}}' }}"
452
+                  with_items: "{{ '{{' }} lookup('vars', 'pre_deployments_' + tripleo_role_name)|default([]) {{ '}}' }}"
453 453
               tags:
454 454
                 - overcloud
455 455
                 - pre_deploy_steps
@@ -539,7 +539,7 @@ outputs:
539 539
                 - include_tasks: deployments.yaml
540 540
                   vars:
541 541
                     force: false
542
-                  with_items: "{{ '{{' }} lookup('vars', tripleo_role_name + '_post_deployments')|default([]) {{ '}}' }}"
542
+                  with_items: "{{ '{{' }} lookup('vars', 'post_deployments_' + tripleo_role_name)|default([]) {{ '}}' }}"
543 543
               tags:
544 544
                 - overcloud
545 545
                 - post_deploy_steps

Loading…
Cancel
Save