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

sap_control role can't call sap_system_facts module

Open ge87sik opened this issue 9 months ago • 5 comments

Hello everyone,

I've encountered an issue when trying to use the sap_operations.sap_control role (with sap_control_function set to 'stop_all_nw').

code_snippet

When running the playbook i get the following error message:

nw_restart_error

From what I understand the role is trying to call the sap_system_facts module with a parameter named 'param', but sap_system_facts doesn't accept any parameters. I've tried removing the offending line (l. 90) and calling the module without any parameters but then the sap_facts_register variable has no entry 'sap_facts'. Am I doing something wrong or is there an issue in the code?

Greetings Manuel

ge87sik avatar Apr 25 '24 09:04 ge87sik