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 extends information gathered by Ansible with custom data. For each host, it also shows the groups, host variables, custom variables and machine-local facts. Some templates, such as txt_table and html_fancy, support columns. If a template supports columns, you can use the --columns / -c command-line option to specify which columns to show. The --columns take a comma-separated list of columns (no spaces!) which should be shown. The columns must be specified by their id field. For information on what id fields are supported by a template, take a look in the template. Usually, it's the column title, but in lowercase and with spaces replaced by underscores.
Features
- Multiple formats / templates
- Fancy HTML
- 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