diff options
author | Eric Wolinetz <ewolinet@redhat.com> | 2018-01-15 12:18:08 -0600 |
---|---|---|
committer | Eric Wolinetz <ewolinet@redhat.com> | 2018-01-24 16:27:31 -0600 |
commit | 83378c05f3aaa67e36a3e7577784351fdb711c57 (patch) | |
tree | 8b388050fe3eee591772efb61e08bba5ca47cd1e /roles/installer_checkpoint | |
parent | f34f986bf3ab0523ce6ec1145b4a57a51b9ab3fa (diff) | |
download | openshift-83378c05f3aaa67e36a3e7577784351fdb711c57.tar.gz openshift-83378c05f3aaa67e36a3e7577784351fdb711c57.tar.bz2 openshift-83378c05f3aaa67e36a3e7577784351fdb711c57.tar.xz openshift-83378c05f3aaa67e36a3e7577784351fdb711c57.zip |
Only automatically restart if cluster is in yellow or green state
Diffstat (limited to 'roles/installer_checkpoint')
-rw-r--r-- | roles/installer_checkpoint/callback_plugins/installer_checkpoint.py | 4 |
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) |