Browse Source

Merge "Rename pre/post deployments host vars"

tags/11.2.0
Zuul 1 week ago
parent
commit
581993a9e7
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      common/deploy-steps.j2

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

@@ -540,7 +540,7 @@ outputs:
540 540
                 - include_tasks: deployments.yaml
541 541
                   vars:
542 542
                     force: false
543
-                  with_items: "{{ '{{' }} hostvars[inventory_hostname][tripleo_role_name ~ '_pre_deployments']|default([]) {{ '}}' }}"
543
+                  with_items: "{{ '{{' }} hostvars[inventory_hostname]['pre_deployments_' ~ tripleo_role_name]|default([]) {{ '}}' }}"
544 544
 
545 545
                 - name: Check for previous run of NetworkConfig
546 546
                   stat:
@@ -762,7 +762,7 @@ outputs:
762 762
                 - include_tasks: deployments.yaml
763 763
                   vars:
764 764
                     force: false
765
-                  with_items: "{{ '{{' }} hostvars[inventory_hostname][tripleo_role_name ~ '_post_deployments']|default([]) {{ '}}' }}"
765
+                  with_items: "{{ '{{' }} hostvars[inventory_hostname]['post_deployments_' ~ tripleo_role_name]|default([]) {{ '}}' }}"
766 766
               tags:
767 767
                 - overcloud
768 768
                 - post_deploy_steps

Loading…
Cancel
Save