learning ansible in depth was yaml
it's one of the crappiest dirtiest configuration (don't say markup) languages that only makes you disgust your surroundings taking a whole course of anger management to avoid chopping your monitor with a keyboard
Now jsonnet was around for a while
Jinja is nice though still overcomplicated
and there is a new thing called Dall language
So has any of you have any experiments with automation tools leveraging such power?
Check out HCL (Language) and Terraform :) That language is quite nice and Terraform is a nice skill to have!
I don't understand your points. Why is jinja is overcomplicated? Why is yaml is crappy? 100% you get things from the wrong angle.
You are overthinking. YAML is good and Jinja is easy
Thank you for telling me about it. It's way better than yaml for iac. More intriguing, I realized there is a qbec utility than has a provider for terraform that one might use jsonnet through it.
Yaml isn't a programming language, it's a pure data representation language. Even as that it's still dreadful. Think of all strict indentation rules, each element on a new line approach (which is not strict, but if you don't stick to it it's already json, yet best practice is to use a homogeneous approach). For an admin it's already dreadful to deal with tens of lines of config (that's why all of those .d directories showed up). Even with newer features like inheritance, you still have to read the original yaml. It has the same set of pitfalls. Moreover it's not a real inheritance/composition, it's like a nasty merging/referencing. It's ambiguous, that's why merging strategies exist in kubectl friendly configuration files
still don't get it
Обсуждают сегодня