Nope. Writing portable playbooks is hard, and testing them is harder
Comment on Backporting security fixes is overrated
jdr@lemmy.ml 8 hours agoIsn’t the point of Ansible that it doesn’t depend on the underlying distro?
talkingpumpkin@lemmy.world 8 hours ago
jdr@lemmy.ml 7 hours ago
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.
neclimdul@lemmy.world 6 hours ago
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.
jdr@lemmy.ml 4 hours ago
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.