Escaped json probably hits that sweetspot by being a bit uglier than yaml, but 100 times simpler than xml, though.
<tasks> <ansible.builtin.copy notify="restart minio"> <src> files/minio.service </src> <dest> /etc/systemd/system/minio.service </dest> <owner> root </owner> <group> root </group> <mode> 0x644 </mode> </ansible.builtin.copy> </tasks>
Also, watch out: 0x644 != 0644 which is the mode you meant
Escaped json probably hits that sweetspot by being a bit uglier than yaml, but 100 times simpler than xml, though.