hey I know I say that often (approximately every time I have to touch it) but fuck ansible, fuck yaml, and fuck jinja2.
thank you for your attention!
@wxcafe automation (mostly?) sucks, big time!
@wxcafe yaml is the worst format ever created by mankind
@wxcafe wait, no, maybe not THE worst but it's up there alongside jade/pug, EJS, and haml
ERROR: TRAILING COMMA IN JSON DOCUMENT
@wxcafe What do you prefer? Errors because trailing commas or errors because you used a space instead of a tabs (or whatevr yaml uses idk) and you lose 30min before seeing it because 90% of text editors don't show the difference?
@Eramdam idk I have a thing in vim where it converts everything to the correct format when exiting, it's like a single config line
the problem I was having is that I'm trying to reverse the jinja that was clearly written by looking at the yaml
@wxcafe I refuse to believe that jinja is not a typo
@Eramdam jinja... is not a typo, unfortunately
@Eramdam I mean json is way better when debugging to see if your object is valid and shit
@wxcafe But wait, I thought Ansible was supposed to be simple?
@cwood it's better than some, but hey if I can't complain what do I do with my time