task result

The report a module sends back for each host: a status such as ok, changed, failed, unreachable or skipped, plus data in JSON.

In more detail

The status is the first thing to read, because each one points to a different kind of problem or success. The data underneath depends on the module: the file module reports owner and permissions, the command module reports the return code and output. You can keep a result for later tasks with register.

Related terms

Taught in

References

Certification courses