This alone is the entire reason I started working on pyinfra, loops in YAML is just evil.
Not trying to be rude ofc, I'm sure you considered it and have a good reason – just curious as of what it is. An incredible project you put there, nonetheless:)
Seems they still kinda discourage it but do have examples at least.
https://docs.ansible.com/ansible/latest/dev_guide/developing...