Comment Comment by gerbilly >any mature syntax tree parsers should be able to do it.Well thats' just it, I don't think they use such a parser.I always thought that's why they use YAML as their input language, to avoid having to write a parser,I like many things about Ansible, but the 'language' is an unreadable mess that makes termcap[1] feel like genius level UX design.[1] https://www.freebsd.org/cgi/man.cgi?query=termcap&sektion=5 (Also known in my day as 'turdcap'.) parent gerbilly 10 years ago
Well thats' just it, I don't think they use such a parser.
I always thought that's why they use YAML as their input language, to avoid having to write a parser,
I like many things about Ansible, but the 'language' is an unreadable mess that makes termcap[1] feel like genius level UX design.
[1] https://www.freebsd.org/cgi/man.cgi?query=termcap&sektion=5 (Also known in my day as 'turdcap'.)