From 2c85bde0005d82ee08da7f42011b3a90be0263c8 Mon Sep 17 00:00:00 2001 From: Jose Luis Franco Arza Date: Tue, 28 Apr 2020 10:09:52 +0200 Subject: [PATCH] Add common_deploy_steps to post_upgrade_steps. When refactoring deploy-steps to add a common playbook [0] it seems that the post_upgrade_steps_playbook block was missed. As a consequence, when executing the post_upgrade_tasks some of the common Ansible variables are not available. [0] - Ib00e8aa9f7d06517290543a8aaf8a2527969bd3c Change-Id: I04704a14a8b932e21d21348e10014c707a87eeeb Closes-Bug: #1875579 --- common/deploy-steps.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2 index bad129c401..dfe35cc237 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -1063,6 +1063,10 @@ outputs: post_upgrade_steps_playbook: {{ self.deploy_steps_str_replace_params() }} template: | + - import_playbook: common_deploy_steps_playbooks.yaml + vars: + deploy_source_host: "DEPLOY_SOURCE_HOST" + deploy_target_host: "DEPLOY_TARGET_HOST" - hosts: DEPLOY_TARGET_HOST any_errors_fatal: yes tasks: