Why YAML ? :(
What language did you have in mind that you'd rather use compared to YAML ?
I do find HCL to be simpler. But for things like Ansible, I'd rather have a real programming language, like PyInfra does (which I never got to try yet unfortunately).
It also doesn't help that I'm not that familiar with the language.