Skip to content

Commit

Permalink
sap_netweaver_preconfigure: remove more double quotes, replace rc==0 …
Browse files Browse the repository at this point in the history
…by success

Signed-off-by: Bernd Finger <bfinger@redhat.com>
  • Loading branch information
berndfinger committed Dec 21, 2023
1 parent 180be5c commit 58cc7a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

- name: Assert that saptune_check executed correctly
ansible.builtin.assert:
that: "__sap_netweaver_preconfigure_register_saptune_check.rc == 0"
that: __sap_netweaver_preconfigure_register_saptune_check is success
fail_msg: "FAIL: the command saptune_check fails"
success_msg: "PASS: the command saptune_check executes as expected"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

- name: Assert that tuned profile sap-netweaver is currently active
ansible.builtin.assert:
that: "__sap_netweaver_preconfigure_register_current_tuned_profile.stdout == 'sap-netweaver'"
that: __sap_netweaver_preconfigure_register_current_tuned_profile.stdout == 'sap-netweaver'
fail_msg: "FAIL: The tuned profile 'sap-netweaver' is currently not active!
Currently active profile: '{{ __sap_netweaver_preconfigure_register_current_tuned_profile.stdout }}'."
success_msg: "PASS: The tuned profile 'sap-netweaver' is currently active."
Expand Down

0 comments on commit 58cc7a1

Please sign in to comment.