Re:Is Setting Up a VPS Worth It?
by bravetraveler on Monday March 13, 2023 @01:11PM
(#35138837)
+1 for Ansible, or really any tool of choice.
Even well-written scripts will do! Just know - if you go with writing your own, you're doing something someone probably already did as a module.
With proficiency Ansible is like writing declarative pseudocode. Say what you want and a huge library of Python will 'make it so'.
Eventually you'll have a library of roles that don't care about the operating system, maybe even the provider.
A peer comment mentions docker-compose. That's fine, but I prefer Ansible -- the DSL can be made very similar with a role... and it's far more capable. Like preparing the runtime.
Even well-written scripts will do! Just know - if you go with writing your own, you're doing something someone probably already did as a module.
With proficiency Ansible is like writing declarative pseudocode. Say what you want and a huge library of Python will 'make it so'.
Eventually you'll have a library of roles that don't care about the operating system, maybe even the provider.
A peer comment mentions docker-compose. That's fine, but I prefer Ansible -- the DSL can be made very similar with a role... and it's far more capable. Like preparing the runtime.