Closed Taisgeal closed 2 years ago
I'm already doing something like that with pyinfra:
After that I can use the URL to upload the image to my VPS provider and kick off the installation.
That sounds like a very sensible way to do it.
I was thinking of taking this approach :
I hope to use pyinfra with Step 2. Step 1 is manual, but as my golden image only changes every few years, I can bite the bullet.
What do you think of that approach ?
That's also a doable approach, a couple of issues you will have to consider:
However I believe there are other projects supporting this approach, e.g. systemd first boot, maybe cloud-init ?
That makes a lot of sense. Thank you for taking the time to write down your thoughts.
Is your feature request related to a problem? Please describe
I work in a hybrid environment (part local data centre, part cloud). I can build a new server from an image in either environment using ansible, by specifying a few parameters (image name, location, IP addresses etc.)
Describe the solution you'd like
I would like to be able to do this from pyinfra. In fact, this is the only thing stopping me from ditching ansible altogether.