omd_livestatus.py is a dynamic inventory script for Ansible that reads hosts and group information from an OMD (Open Monitoring Distribution) instance. Data is read via Livestatus socket directly from the running monitoring core.
The script has currently only been tested with the Nagios core but should also work with alternative monitoring cores like e.g. Shinken or Icinga.
Side note: See ConSol Labs for the latest OMD packages; software at the original OMD site is not up to date.