YAML document from hell (2023)
ruudvanasseldonk.com
YAML document from hell (2023)
1–10 of 144 posts
Re: YAML document from hell (2023)
#2In a lot of the Ansible documentation, yes/no are used instead of true/false. When seeing this in the official docs, I used it, figuring this was the preferred convention in Ansible. These days it now throws warnings or lint errors, so I’m updating it all over the places as I find it. Yet the Ansible documentation still commonly uses it.
Re: YAML document from hell (2023)
#3Still love it.
Re: YAML document from hell (2023)
#4The author didn’t even get into the weird stuff GitLab does with YAML too!
Re: YAML document from hell (2023)
#5Yaml has its uses cases where you want things json doesnt do like recursion or anchors/aliases/tags. Or at least it has had - perhaps cue/dhall/hcl solves things better. Jsonnet is another. I havent tried enough to test how much better they are.
Re: YAML document from hell (2023)
#6Re: YAML document from hell (2023)
#7The n, no, off thing is just sad. It's a 100% avoidable issue. But whoever put that into spec was just so clever that they overflew and became stupid.
Re: YAML document from hell (2023)
#8Re: YAML document from hell (2023)
#9https://news.ycombinator.com/item?id=34351503 , 566 points, 358 comments
Re: YAML document from hell (2023)
#10The Norway problem drives me a bit nuts. In a lot of the Ansible documentation, yes/no are used instead of true/false. When seeing this in the official docs, I used it, figuring this was the preferred convention in Ansible. These days it now throws warnings or lint errors, so I’m updating it all over the places as I find it. Yet the Ansible documentation still commonly uses it.