Doing some Ansible work today. I last used Puppet and Ansible about 10 years ago. Bash is my go-to, but I see the benefit of having a more standardized setup when you're managing more servers and clusters.
@oleksii I sometimes get asked why not Docker, Kubernetes, Terraform, etc. My answer: that's why.
If you were to ask me, I'd much rather prefer source only on the server and bash for everything 😂
It's not about the tech itself, but rather how you build, document and manage it. It's best to focus on the tools you're most experienced with.
It's best to focus on the tools you're most experienced with.
In very most cases: fully agree ^
Also Ansible and Kubernetes are not opposites anyway, they can be overlapping but you could also use Ansible to setup a k8s cluster for example (if you don't want to use our nice UKS product )
@rolle where is the limit of "more"? I don't use ansible or puppet, 60 servers.
@harald Good question. Maybe @ikkeT can reply to this? 😅
There is no rule, but I think the idea is that Ansible is a more solid, established standard that more people understand, whereas bash can be a jungle in a sense, and harder to wrap your head around because it's always different and looks like whoever built it and made it that way.
@rolle @harald There are many aspects to "when ansible". Sometimes even when there are very few servers but rarely touched, it makes sense. In this case it's also about backup. I have been doing ansibles to describe mementomori.social setup. I never took full look what is there. Now when we turn it into ansible, it is clear for all what got installed and how. Also changes become documented. And if we loose a server we can quickly rebuild it from git. Only data needs backup. Or if we would scale up, we get similar servers built by automation and traffic paths reconfigured.
At home it serves me just a reminder how something was built.
So if you would share responsibiloities for those 60 servers, it would work as documentation and would make them all more similar, easier to maintain in group. Also molecule can be used to test the automation.
You can follow our (slow) process in public: https://github.com/mementomori-social/ansibles