community.sap_operations icon indicating copy to clipboard operation
community.sap_operations copied to clipboard

sap_facts not working with param "hana" or "all"

Open roles4ansible opened this issue 2 years ago • 2 comments

Hello,

we are currently trying to use the sap_facts module for our automization. However, When using the "hana" param, it will just get stuck in the process. We have noticed that it works, after commenting out the content of the check_sapcontrol() function: image

Here's what ps fax shows on both RHEL 8 and 9: image

Is there any way to resolve this issue without having to use a workaround?

Thanks!

roles4ansible avatar May 31 '23 12:05 roles4ansible

@roles4ansible thank you for opening the issue we will do a lot of rework and deprecation in the near future.

Maybe you will find this facts module helpful: https://docs.ansible.com/ansible/latest/collections/community/sap_libs/sap_system_facts_module.html

It's located in this org as well just an other repo.

The module will do the same thing in a different way.

rainerleber avatar Jun 01 '23 17:06 rainerleber

Hi Rainer! Thanks so much for the reply. We really liked the fact that it has built-in HANA and NW separation and actually just switched from the lib you mentioned last week.

roles4ansible avatar Jun 01 '23 17:06 roles4ansible