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": elif command == "GetLogs":
result["log"] = rf_utils.get_logs() result["log"] = rf_utils.get_logs()
# Return data back or fail with proper message # Return data back
module.exit_json(redfish_facts=result) module.exit_json(ansible_facts=dict(redfish_facts=result))
if __name__ == '__main__': if __name__ == '__main__':
main() main()

Loading…
Cancel
Save