Sosreport module

sosreport is a tool that is a part of the sos package used for "gathering system logs and other debug information"(https://github.com/sosreport/sosreport). It is included with a number of RHEL based repositories and has been ported to be useful with Ubuntu. sosreport is also easily extendable by creating custom plugins to copy data not captured by the built-in plugins.

This module runs sosreport on the remote host and returns the archive and md5 path in the result so they can be copied local and removed from the remote host. An example playbook can be found here:  https://github.com/risaacson/ansible-examples/tree/master/sosreport

This module should strongly appeal to anyone running large clusters in need of pulling system information for debugging or a support case.