Obviously they are very useful. I still don't think they should exist in this usage of yaml.
Once you allow setting and reading of variables in a configuration file, you lose the safety that makes the format useful. You might as well be using a bash script at that point.