First of all, who except Ansible (and ansible-lint) would even want to consume Ansible's YAML?
Regarding anchors: those are not idiomatic in Ansible at all, thanks to Ansible offering first-class support for object reuse on application level (e.g. variables and facts).
I wonder if TFA's pounding on YAML might be undeserved in this particular context.