Moving redfish_facts inside ansible_facts

pull/41656/head
Jose Delarosa 6 years ago
parent 8c647996bd
commit c7069c6643

@ -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()

Loading…
Cancel
Save