Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible’s main goals are simplicity and ease-of-use. It also has a strong focus on security and reliability, featuring a minimum of moving parts, usage of OpenSSH for transport (with an accelerated socket mode and pull modes as alternatives), and a language that is designed around auditability by humans–even those not familiar with the program.
When using uri and a status code other than 200 is returned, the actual status code returned is not reported. The message is "Status code was not [200]". Sometimes it is very difficult to determine the actual status code returned by other means. It would make debugging easier if the actual error code was included in the error message.