Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can't agree enough here. The core deva act like it isn't a problem. The lack of encapsulation makes reusability impossible


I remember being really down on Ansible Galaxy, and whenever someone tried to use a community role, I'd pull it down, audit it, and make them fork it, because it was inevitably dangerous, not thought out, and with no tests. Now I'm back in a Chef shop, and Chef has a ton of tooling for re-usability, has put loads of thought and effort into the problem, and there are tons of cookbooks, many maintained by Chef, Inc. The problem isn't really any better though- the official and officially blessed cookbooks are still terrible, broken and unsafe in all sorts of obvious ways. I'd rant more, but I'd have to get specific and mean about actual people.

It's the problem space, honestly. It all depends on the guardrails your workflow provides, and there's never enough in common.

Anyway, there's a reason everyone loves golden-images.


Good point. The Ansible community who happened to be talking to me on IRC about this basically said that at least at this point, you have to look at all your role code no matter what anyway. Meaning scope wasn't the core issue. But lack of variable scope even hurts my own Ansible config abstractions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: