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
This commit is contained in:
Jose Luis Franco Arza 2020-04-28 10:09:52 +02:00 committed by Jesse Pretorius (odyssey4me)
parent 85d416bf9d
commit 2c85bde000

View File

@ -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: