News for hackers. Stuff that matters.
Re:Why the fuck are we templating YAML? (2019) by jimkoen on Tuesday January 23, 2024 @12:25PM (#39106434)
So why is there this massive ecosystem around not writing modules then? RedHat invented automation controller just so they didn't have to implement proper error handling with Ansible.
Re:Why the fuck are we templating YAML? (2019) by linuxftw on Tuesday January 23, 2024 @04:49PM (#39110405)
The 'not writing modules' approach is for people that aren't comfortable writing code. I think most capable users for non-trivial things should write custom modules a lot of the time.
Re:Why the fuck are we templating YAML? (2019) by Draiken on Wednesday January 24, 2024 @05:45AM (#39115836)
That's not how Ansible is meant to be used by default though. Modules are, in general, meant to be generic.

I bet you if I started writing modules for everything in most companies, people would complain. Unfortunately defaults matter.