this post was submitted on 14 Jan 2025
354 points (91.7% liked)

memes

10923 readers
3263 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] CaptPretentious@lemmy.world 40 points 13 hours ago (4 children)

Honestly, fuck Ansible.

It's the dialup of automation tools. It was probably amazing 10 years ago.

It's YAML is awful, it scales terribly, it's so fucking slow at literally everything, it gives people who have no clue what they're doing a false sense of confidence.

The number of times I've seen app teams waste the time of support groups and engineers because something went wrong and they didn't have the knowledge to know why and need to waste so many man hours having other people solve it for them. I (the engineer) was added to a chat that had 15 people in it because they, after running ansible, saw errors in their server... So clearly there was a problem with the server... At no point did they question there Ansible job.

Of the various tools I've used, I prefer Salt. The YAML is slightly less ass and it's so much faster while also seeming to scaling better too. It by no means is perfect.

[–] cosmictrickster@lemmy.world 8 points 10 hours ago

You had me at “fuck Ansible”.

[–] corsicanguppy@lemmy.ca 9 points 11 hours ago

Honestly, fuck Ansible.

It’s the dialup of automation tools. It was probably amazing 10 years ago.

It's actually on par with 20-year-old tech. There's nothing it's doing that we weren't doing back then already in the enterprise space. And, in so many cases where Ansible's unable to respond well to changes to the system, it ends up not being on par with 20-yer-old tech.

Salt is better as it's one generation newer, aka last-gen. Puppet, salt, chef/cinc, all the same generation, and we get single source of truth and fast operation de

Current-gen is mgmtconfig, and from it we get instant/constant converging event-driven code. If you like ansible, you're gonna love sale or cinc. If you love salt or puppet, mgmtconfig will blow your mind clean out the back of your head.

100 servers? 5000? Ansible don't care

Sub-second convergence of thousands of servers. Files managed so hard you can't manually mod them as they revert immediately and it's an actual race to try and mod a file to use it, since it's hooked into inotify and friends.

James even put in a YAML-ish DSL for the crayola crew who haven't learned Go yet. :-P

[–] Lemminary@lemmy.world 5 points 13 hours ago (1 children)

Thanks for including an alternative you'd recommend!

[–] killabeezio@lemm.ee 4 points 13 hours ago* (last edited 13 hours ago) (1 children)

Well you will be happy to hear that it's owned by Broadcom now. While salt is better, I wouldn't use it just because of Broadcom.

But then again, Oracle now owns Redhat, so....

[–] Lichtblitz@discuss.tchncs.de 6 points 12 hours ago (1 children)
[–] killabeezio@lemm.ee 1 points 5 hours ago

Oops yeah. Not sure why I was thinking Oracle

[–] themaninblack@lemmy.world 1 points 13 hours ago (2 children)

I also appreciate the alternative suggestion. No terraform love?

[–] hushable@lemmy.world 3 points 12 hours ago* (last edited 3 hours ago)

Terraform and Ansible do different things, they do have overlapping features, but ultimately they're meant to do different things. I use them both at my current job with Terraform running Ansible

[–] corsicanguppy@lemmy.ca 1 points 11 hours ago

No terraform love

Terraform 0.12 was awesome. It had no supply-chain sploit risk, ran well, accepted add-ons easily, and was very powerful.

Then they got a registry for people to attack, an umbilical to operation that ubisoft would envy.

I've been unable to get anything newer approved so far, because of the risk . Sure, you firewall off the box running CI, but often it needs to get out to the world, and suddenly it's a WAF on top of everything, and it's a real mess ... which they can eliminate by killing terraform usage altogether. And I don't wanna see that, as while tf's dsl is pretty weird it's the least-worst tool out there.