← All tools

ansible-cmdb

Popularity 85 Updated Development & Build

Generates static HTML overview page from Ansible facts

homebrewauto-collected

Installation

Homebrew
brew install ansible-cmdb

Install with Homebrew.

Ansible Configuration Management Database =========================================

About -----

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.

Features --------

(Not all features are supported by all templates)

  • Multiple formats / templates:
  • Fancy HTML (--template htmlfancy), as seen in the screenshots above.
  • Fancy HTML Split (--template htmlfancysplit), 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 markdownsplit), 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 txttable), 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.

  • Custom columns

Getting started ---------------