diff --git a/roles/sap_netweaver_preconfigure/tasks/SLES/assert-configuration.yml b/roles/sap_netweaver_preconfigure/tasks/SLES/assert-configuration.yml index ed1f80f7a..3360e8232 100644 --- a/roles/sap_netweaver_preconfigure/tasks/SLES/assert-configuration.yml +++ b/roles/sap_netweaver_preconfigure/tasks/SLES/assert-configuration.yml @@ -18,7 +18,7 @@ - name: Assert that saptune_check executed correctly ansible.builtin.assert: - that: __sap_netweaver_preconfigure_register_saptune_check is success + that: "__sap_netweaver_preconfigure_register_saptune_check.rc == 0" fail_msg: "FAIL: the command saptune_check fails" success_msg: "PASS: the command saptune_check executes as expected"