planetary-social / ansible-scripts

Ansible automation scripts used at Planetary
MIT License
2 stars 3 forks source link

Updated inventory files to allow for ssh key updates #104

Closed mplorentz closed 2 months ago

mplorentz commented 3 months ago

This is a bunch of ansible inventory housekeeping I did while adding @gergelypolonkai's ssh keys to all the servers. Mostly I annotated the inventory files with the necessary ansible_user:, which has historically been defined in the playbook. Unfortunately since some of our unhardened servers still use root and some use admin I couldn't follow the earlier pattern to define a single ansible user in the playbook playbooks/ssh-keys.yml which I wanted to across all the inventories. Ideally someday we can remove these.

I also removed a lot of the dev instances we have recently shut down. I also removed a couple services we no longer run: oasis and ssb-room.

This is PR is bigger and messier than I would like, but I'm trying to clean up some of the mess before @gergelypolonkai starts running things.

gergelypolonkai commented 3 months ago

There are some services removed (oasis and nostrface); is there a reason you don’t delete the whole related playbook (oasis.yml and nostrface.yml) instead of just removing the host list?

mplorentz commented 3 months ago

There are some services removed (oasis and nostrface); is there a reason you don’t delete the whole related playbook (oasis.yml and nostrface.yml) instead of just removing the host list?

Oh yes, looks like I missed the nostrface.yml playbook. Fixed! But the oasis playbook is gone. If you notice any others out of sync please let me know.