This script automates launching SSH sessions to hosts defined in an Ansible inventory file.
It parses the inventory file (at ./hosts
) and understand Ansible patterns like webserver[0:1],db[4:10]:!db9.stuff.com
.
So if you have this inventory for example:
[webserver]
webserver01.stuff.com