News for hackers. Stuff that matters.
Re:Project Wisdom for Red Hat Ansible by zzzeek on Friday October 21, 2022 @11:04AM (#33288758)
The killer feature of Ansible vs. Python code is, noting I have a ton of both here for infrastructure related tasks (as well as shell, why not), when you have it running for three years on some box somewhere and something breaks, you go look at it for the first time in three years and it makes sense. My Python infrastructure tools OTOH, while they are great, if something goes wrong with them I have to spend half a day reading the sourcecode and remembering what their particular architcture / conventions are.

it's like the dumbness of Ansible is really the main feature it has.

Re:Project Wisdom for Red Hat Ansible by Spivak on Friday October 21, 2022 @11:48AM (#33289308)
I agree with you but I think that dumb + size => complicated which is where I live. When you have a playbook that is thousands of tasks long the dumbness leads to exactly the problem you have with Python.
Re:Project Wisdom for Red Hat Ansible by zzzeek on Friday October 21, 2022 @12:43PM (#33290087)
I agree with that! my ansibles are for really straight stuff deployed to a few boxes. Where I work, oddly enough at Red Hat :), the very large playbooks are definitely difficult to work with. It's hard to say though if a custom Python app of similar size is really any better though, unless your developers are Michelangelo.