Small tool to validate https://github.com/verknowsys/Shable inventory
files.
made to convert inventory to JSON format for easier read.
-
Clone this repo
-
copy the
inventory
file from Shable to root folder
3, Run
php validateAndConvert.php
if all is good, the JSON output is presented. If something is wrong, it will print first error and die()