diff --git a/roles/sap_swpm/tasks/post_install/sum_push_to_finish.yml b/roles/sap_swpm/tasks/post_install/sum_push_to_finish.yml
index 4389e60b..10114e87 100644
--- a/roles/sap_swpm/tasks/post_install/sum_push_to_finish.yml
+++ b/roles/sap_swpm/tasks/post_install/sum_push_to_finish.yml
@@ -107,6 +107,7 @@
# If SUM is already in MAIN_POSTCLEAN|EXIT phase it has skipped SPAUINFO and has finished
# No need to do anything else
- name: Check if SUM has skipped SPAUINFO and has finished
+ when: "'SUM4ABAP|POST-EXECUTE|MAIN_POSTPROC|SPAUINFO|FinishSPAU' not in _sap_swpm_sum_push.content"
block:
# Get the config XML from SUM, repeat 3 times in case SUM is still busy and doesn't respond promptly
# Need to get config XML even through we are not going to use it. This is to get the diagtime cookie.
@@ -178,4 +179,3 @@
retries: 60
delay: 60
failed_when: _sap_swpm_sum_push.status != 200 or 'SUM4ABAP|MAIN_POSTCLEAN|EXIT|UnitWizard' not in _sap_swpm_sum_push.content
- when: "'SUM4ABAP|POST-EXECUTE|MAIN_POSTPROC|SPAUINFO|FinishSPAU' not in _sap_swpm_sum_push.content"