Skip to main content

Generate host overview from ansible fact gathering output

Project description

![Status: Stable]( ![Build Status]( ![Activity: Active development]( ![License: GPLv3](


Ansible-cmdb takes the output of Ansible’s fact gathering and converts it into a static HTML overview page (and other things) containing system configuration information.

It supports multiple types of output (html, csv, sql, etc) and extending information gathered by Ansible with custom data. For each host it also shows the groups, host variables, custom variables and machine-local facts.



[HTML example]( output.


(Not all features are supported by all templates)

  • Multiple formats / templates:
    • Fancy HTML (–template html_fancy), as seen in the screenshots above.

    • Fancy HTML Split (–template html_fancy_split), with each host’s details in a separate file (for large number of hosts).

    • CSV (–template csv), the trustworthy and flexible comma-separated format.

    • JSON (–template json), a dump of all facts in JSON format.

    • Markdown (–template markdown), useful for copy-pasting into Wiki’s and such.

    • Markdown Split (’–template markdown_split’), with each host’s details in a seperate file (for large number of hosts).

    • SQL (–template sql), for importing host facts into a (My)SQL database.

    • Plain Text table (–template txt_table), for the console gurus.

    • and of course, any custom template you’re willing to make.

  • Host overview and detailed host information.

  • Host and group variables.

  • Gathered host facts and manual custom facts.

  • Adding and extending facts of existing hosts and manually adding entirely new hosts.


All documentation can be viewed at [](


Ansible-cmdb is licensed under the GPLv3:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <>.

For the full license, see the LICENSE file.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansible-cmdb-1.28.tar.gz (177.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page