Automating ServerPilot/DO sync on droplet creation
I’d like to automatically run these steps when a new droplet is created:
- Since there is no way to send an email containing droplet password if created with an SSH key ( which should be allowed guys ), have the new droplet’s password reset ( current workaround for password on droplets w/ ssh keys ), and send that password to another email. Thus allowing myself to have access via ssh, and the client via password until they add their ssh key in later into authorized_hosts.
- Create a new server on ServerPilot.
- Run the install script given by ServerPilot on the new DO droplet.
Is this possible and how would i be able to accomplish this, say, with your api?
I would also need to work with serverpilots api as well correct?
Perhaps use the two together to create a dashboard of some sorts?
Thanks ahead of time!