Hacker News new | ask | show | jobs
by codeaken 2784 days ago
I'd love a tool that lets you keep a history of "cloud migrations", where you write both the "up" and the "down".

We did a dirty solution for this with Ansible. We have a base playbook (with roles and all that jazz) that sets up a server and then we can write patches which are separate playbooks.

After the patch has run we simply store the patchlevel in a file on the server so that we dont "double-apply" any patches on the next patch-run.