batrick / ceph-linode

Launch Ceph using the Linode VPS provider
GNU General Public License v3.0
13 stars 10 forks source link

hosts file that goes with ansible inventory #34

Closed bengland2 closed 5 years ago

bengland2 commented 5 years ago

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?

batrick commented 5 years ago

I'd throw it in scripts/. Feel free to make a PR!

bengland2 commented 5 years ago

PR 35

bengland2 commented 5 years ago

merged.