Skip to content

What do you use for automated server provisioning without Ansible?

Dedicated Servers by sarahjey 23 replies 3.6K views
#11

First boot only. For ongoing changes you still need something else, but sarahjey said provisioning. Most people conflate the two.

4 #12

To clarify my framework: rollback is manual. I snapshot /etc and /usr/local before apply, restore via rsync if needed. Not atomic, but has saved me twice in eight years.

iBGP, eBGP, don't care, just peer
4 #13

Manual rollback is still better than my for-loop disaster lol. I ended up just going with Ansible for the 5 boxes, took an afternoon to learn enough YAML.

42U and still growing
#14

Make handles rollback fine if you write uninstall targets. People just dont bother.

1 #15

I use pyinfra for my three VPS boxes. Python but no agent, just SSH like Ansible. Feels lighter because its pure Python, no Jinja2 YAML soup.

#16

Pyinfra looks interesting. Is the Python dep a problem on stock Debian?

learning on $5 VPS and prayers
#17

Debian 12 ships Python 3.11. Pyinfra installs via pip, no issue. I deploy nginx, ufw, my user keys. 40 lines of Python vs 80 of YAML for same result.

2 #18

I finally escaped shared hosting in 2025 and went straight to Hetzner with their installimage. Not automation exactly but one reinstall script and I am back online in 8 minutes. For three boxes that is enough.

#19

Used to hand-roll Kickstart then iPXE for our DSLAM management boxes. For three hosts I would not bother with any framework. Git repo of configs, scp and ssh, 20 minute job once a quarter.

#20

For three boxes in EU I would check if your provider has an API for reinstall with post-install script. OVHcloud does this, Hetzner too. The automation lives at the provider, not on your machine.

Post a reply

You need an account to reply. Log in or register to join the conversation.

Post reply Preview Save draft