by nrser · 10y ago · 0 comments
you come from web dev doing HTML like that and you see XML and think "hey, that looks the same, i'll do it in the same way".
XML is a programmatic data exchange format like JSON or YAML, which most people would never think of outputting as templates or printed text, but it looks and feels like HTML, which most people deal with first and where that's the standard approach.
Don't tell the Ansible folks!
Ansible does use YAML as a configuration language though—something for which it's perfectly suited.
That said the templating is usually trivial, just maybe write some string values.