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. ...
fboender / ansible-cmdb Public Notifications Fork 464 Star 2.3k Code Issues 29 Pull requests 16 Discussions Actions Projects Wiki Security Insights Stargazers All 2,301 You know gukkels Joined on Mar 2, 2014 Follow sodaChen Joined on Mar 5, 2011 Follow PGuy3486 Joined ...
So, my request is less specific to a platform but more about a way to feed ansible_facts network data structure and have ansible-cmdb.py do the job the same way it does now.In the end, my overview.html page would have a mix of different devices/platforms (ios_facts/nxos_facts/bigip...
{"title": "Disk avail", "id": "disk_avail", "visible": True, "field": lambda h: ', '.join(['{0:0.1f}g'.format(i['size_available']/1048576) for i in host['ansible_facts'].get('ansible_mounts', []) if 'size_available' in i and i['size_available'] > 1])}, ...