Disable role host_prep_tasks on controlplane upgrade
authormarios <marios@redhat.com>
Tue, 26 Sep 2017 12:33:13 +0000 (15:33 +0300)
committerMarios Andreou <marios@redhat.com>
Wed, 4 Oct 2017 06:35:26 +0000 (06:35 +0000)
commita2ab21881c4b2a61cb09b48cf8ffe12600042338
tree9d36e3395f91604eaa1574523b1f66a4339634c9
parentf2d8fa73f6cec2e3d754dbd9a9973918cc9832d0
Disable role host_prep_tasks on controlplane upgrade

During the controlplane upgrade the host_prep_tasks are being
executed on the disable_upgrade_deployment roles too.

This sets the role specific host_prep_tasks to an empty list for
those roles during an upgrade, as executing them during the
controlplane upgrade (during -e
major-upgrade-composable-steps-docker.yaml) causes problems.

They will be executed as part of the non controller upgrade as they
are written to the stack outputs to be used as ansible playbooks
(see bug 1708115 for more info on this)

Change-Id: I42c963440b9b1e8222097c3d4e83ffcbe820886c
Closes-Bug: 1719604
(cherry picked from commit 684267a7a4fbff489f6324020289afbdcaaca8f5)
common/deploy-steps.j2