From c7069c66433ff0f3763763b974a2890349d79833 Mon Sep 17 00:00:00 2001 From: Jose Delarosa Date: Sun, 15 Jul 2018 15:26:16 -0500 Subject: [PATCH] Moving redfish_facts inside ansible_facts --- .../modules/remote_management/redfish/redfish_facts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/remote_management/redfish/redfish_facts.py b/lib/ansible/modules/remote_management/redfish/redfish_facts.py index 874fa3c9d66..074c7c1c9f4 100644 --- a/lib/ansible/modules/remote_management/redfish/redfish_facts.py +++ b/lib/ansible/modules/remote_management/redfish/redfish_facts.py @@ -259,8 +259,8 @@ def main(): elif command == "GetLogs": result["log"] = rf_utils.get_logs() - # Return data back or fail with proper message - module.exit_json(redfish_facts=result) + # Return data back + module.exit_json(ansible_facts=dict(redfish_facts=result)) if __name__ == '__main__': main()