yioda / ansible-inventory-to-ssh-config

This is a python tool for updating ssh config from ansible inventory file.
MIT License
26 stars 6 forks source link

ansible_port is not taken into account #3

Closed rasjani closed 2 years ago

rasjani commented 2 years ago

Expected:

generated ssh config file would also have the port defined

Only a list of hosts with HostName $ip.h.e.re are added

yioda commented 2 years ago

Hi @rasjani , thanks for your suggestion and provide a great PR! Sorry that I didn't have much time to review. Here's new release v1.0.1 with following new features you could try~