summaryrefslogtreecommitdiffstats
path: root/roles/installer_checkpoint
diff options
context:
space:
mode:
authorEric Wolinetz <ewolinet@redhat.com>2018-01-24 18:33:16 -0600
committerEric Wolinetz <ewolinet@redhat.com>2018-01-25 14:27:38 -0600
commit6ececc8d45da31895ac07bb7d835b09666e30548 (patch)
tree07de66ca07346018d1999717e8548ac16166c863 /roles/installer_checkpoint
parent0905e3ffb267317da5ae743f201438e2aca96f86 (diff)
downloadopenshift-6ececc8d45da31895ac07bb7d835b09666e30548.tar.gz
openshift-6ececc8d45da31895ac07bb7d835b09666e30548.tar.bz2
openshift-6ececc8d45da31895ac07bb7d835b09666e30548.tar.xz
openshift-6ececc8d45da31895ac07bb7d835b09666e30548.zip
Updating deprecations to use callback plugin
Diffstat (limited to 'roles/installer_checkpoint')
-rw-r--r--roles/installer_checkpoint/callback_plugins/installer_checkpoint.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py b/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
index da7e7b1da..a38b95c1d 100644
--- a/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
+++ b/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
@@ -127,6 +127,10 @@ class CallbackModule(CallbackBase):
self._display.display(
'\tThis phase can be restarted by running: {}'.format(
phase_attributes[phase]['playbook']))
+ if 'message' in stats.custom['_run'][phase]:
+ self._display.display(
+ '\t{}'.format(
+ stats.custom['_run'][phase]['message']))
self._display.display("", screen_only=True)