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
This commit is contained in:
Emilien Macchi 2019-08-30 17:06:27 -04:00
parent fcd8de6cdc
commit 20a329f87d
1 changed files with 2 additions and 2 deletions

View File

@ -539,7 +539,7 @@ outputs:
- include_tasks: deployments.yaml
vars:
force: false
with_items: "{{ '{{' }} hostvars[inventory_hostname][tripleo_role_name ~ '_pre_deployments']|default([]) {{ '}}' }}"
with_items: "{{ '{{' }} hostvars[inventory_hostname]['pre_deployments_' ~ tripleo_role_name]|default([]) {{ '}}' }}"
- name: Check for previous run of NetworkConfig
stat:
@ -762,7 +762,7 @@ outputs:
- include_tasks: deployments.yaml
vars:
force: false
with_items: "{{ '{{' }} hostvars[inventory_hostname][tripleo_role_name ~ '_post_deployments']|default([]) {{ '}}' }}"
with_items: "{{ '{{' }} hostvars[inventory_hostname]['post_deployments_' ~ tripleo_role_name]|default([]) {{ '}}' }}"
tags:
- overcloud
- post_deploy_steps