From a43cb7f333b4742bed66552850bb32198f002686 Mon Sep 17 00:00:00 2001 From: Rob Dobozy Date: Fri, 3 Jan 2025 15:19:07 +0000 Subject: [PATCH] sap_swpm: Improved SUM handling and lint fixes --- roles/sap_swpm/tasks/post_install/sum_push_to_finish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"