Ansible to display system inventory information

I have python module collect single system inventory info using print statement and I’d like to use Ansible to collect the same information against all inventory hosts.

I know Ansible doesn’t like custom module to do print and I can return some JSON fields using module.exit_json call. I can register the var and debug var[‘field’] in Ansible. Is this the right and only way to parse the python output on the console? How about I have multiple instances of prints in Python module and I don’t want to exit back to ansible to get things printed out.

My python call is on localhost BTW.