Parse ansible inventory files/directories to ssh config
pip install -r ./requirements.txt
Usage:
parse.py [--header=] [--output=] [--verbose] [--indent=] INVENTORY...
parse.py -h | --help
parse.py -V | --version
Options:
-h --help Show this screen.
-V --version Show version.
-v --verbose Debug.
-o=FILE --output= Save output as file.
-H=FILE --header= Load custom header. [default: header]
-i --indent= Indent. [default: 2]
./parse.py /etc/ansible/hosts -o /tmp/config -H header.example