Also I recommend adding more detail to the title, maybe mention module and/or error - people tend to respond to things when they can see quickly that they can help
Googling your error yielded Ansible.legacy.setup failed to execute so it may also be worth posting information about the target’s OS version and what version of Python is running there, as well as your version of Ansible on top of what the other people have asked for in this thread.