3 ms·
That edge case sounds like a reasonable tradeoff you would make for such a simple and readable generic data format. Escaped json probably hits that sweetspot b
by TZubiri 2y ago
That edge case sounds like a reasonable tradeoff you would make for such a simple and readable generic data format.
Escaped json probably hits that sweetspot by being a bit uglier than yaml, but 100 times simpler than xml, though.
- tetha 2y agoMh, since I just commented about ansible, you just made XML-based ansible flash in front of my eyes. I think I'm in a bit of pain now. <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> But you could use XSLT to generate documentation in XHTML from your playbooks about what files are deployed, what services are managed...
- mdaniel 2y agoI will die on the hill than writing out ansible.builtin. are characters of my life I'll never get back, and refuse to. If it's built in why do I have to qualify it?! Also, watch out: 0x644 != 0644 which is the mode you meant