I finally switched away from it on my workstations a couple years ago, but I haven’t taken the trouble to move my servers yet. I dont want to rewrite all those ansible playbooks. And its stable enough once you remove all the junk, which is 90% of my playbooks…
the idea would be to have playbooks support all distros but any infrastructure as code has to have distro specific code for package names and subtle differences in config.
But you’ve got the right idea. the point is that you can test that and then you depend on the distro less because your playbook takes care of the complexity.
Ya, I was being a bit glib, because that’s how it was pitched to me, but in my limited experience it never even nearly lived up to that. It’s so great to have generic functions to install a package or change a setting, but maybe too Quixotic to assume it’ll usually work.
i hear you. its still really valuable, just not the silver bullet its often sold as.
i think for homelabers and smaller shops, its more useful as a recovery tool. Also a bit of a deployment tool since it gives you one place to rationalize a server and remind ypu what you’ve done. Or if you lots of vms, asserting some base tooling like management users and monitoring.
Also, i think the golden age of those tools has past, a lot of the tooling that made it awesome is stagnant with everyone in the cloud and k8s and containers. still valuable just a lot more niche.
A certain world’s most valuable company wasted me a huge amount of time by supplying a smorgasbord of ever-so-slightly broken playbooks that borked my extremely expensive servers running the official OS.
If you’re going to be un portable and broken let’s cut out the middleman and just use bash scripts.
Making playbook portable is a choice, but there are other benefits like error handling and conditional and delayed actions that you can’t easily do with bash.
Yeah, that’s the likeliest switch. Or maybe fedora. I switched my workstations to Bazzite DX, so something fedora based would keep things more consistent.
I finally switched away from it on my workstations a couple years ago, but I haven’t taken the trouble to move my servers yet. I dont want to rewrite all those ansible playbooks. And its stable enough once you remove all the junk, which is 90% of my playbooks…
Isn’t the point of Ansible that it doesn’t depend on the underlying distro?
the idea would be to have playbooks support all distros but any infrastructure as code has to have distro specific code for package names and subtle differences in config.
But you’ve got the right idea. the point is that you can test that and then you depend on the distro less because your playbook takes care of the complexity.
Ya, I was being a bit glib, because that’s how it was pitched to me, but in my limited experience it never even nearly lived up to that. It’s so great to have generic functions to install a package or change a setting, but maybe too Quixotic to assume it’ll usually work.
i hear you. its still really valuable, just not the silver bullet its often sold as.
i think for homelabers and smaller shops, its more useful as a recovery tool. Also a bit of a deployment tool since it gives you one place to rationalize a server and remind ypu what you’ve done. Or if you lots of vms, asserting some base tooling like management users and monitoring.
Also, i think the golden age of those tools has past, a lot of the tooling that made it awesome is stagnant with everyone in the cloud and k8s and containers. still valuable just a lot more niche.
Nope. Writing portable playbooks is hard, and testing them is harder
A certain world’s most valuable company wasted me a huge amount of time by supplying a smorgasbord of ever-so-slightly broken playbooks that borked my extremely expensive servers running the official OS.
If you’re going to be un portable and broken let’s cut out the middleman and just use bash scripts.
I think you are missing the purpose of Ansible.
Very likely. Is there one?
Making playbook portable is a choice, but there are other benefits like error handling and conditional and delayed actions that you can’t easily do with bash.
Running something against a bunch of systems. Ideally idempotence, too, unless you’re doing something unsupported and then it’s up to you to ensure.
I basically had the same problem for my servers (that mostly run containers) and Debian was the perfect drop-in replacement
Yeah, that’s the likeliest switch. Or maybe fedora. I switched my workstations to Bazzite DX, so something fedora based would keep things more consistent.