using variables in group_vars/*

How can I reference another variable within group_vars files?

Specifically, I have a bunch of RFC1918-style (loopback internal like
192.168.1.1) IP addresses for things that are referenced all over the
place. Depending on the environment, those addresses are different
(test/dev, production) and I can't simply use DNS lookups.
I'm aware of ansible's precedence [1] but this is more about *when*
these files get processed, and whether they're handled as a gorup, or in
separate passes.

# group_vars/all.yml

It doesn't matter as the templating happens lazily (on use) not on
processing the files.

Thanks Brian,

I found the issue - it seems one can't use hash values defined in an
earlier file, which sort of makes sense if they're not processed in
discrete phases. I moved config.net.* up to net.* and all works well,
the hashes are not overlapping anymore:

# group_vars/all.yml