I wrote this script to convert the linode ansible_inventory file to /etc/hosts format so I can just ssh to any node in the inventory, as in "ssh mon-000". This makes it possible to write scripts that ssh/scp to role in a ceph-linode cluster, like mgr-000, even though the real hostnames change each time you deploy it. Useful?
I wrote this script to convert the linode ansible_inventory file to /etc/hosts format so I can just ssh to any node in the inventory, as in "ssh mon-000". This makes it possible to write scripts that ssh/scp to role in a ceph-linode cluster, like mgr-000, even though the real hostnames change each time you deploy it. Useful?