build environment variable from group variables

Variables are lazily evaluated when needed so it is ok to reference group variables in $vars_files and then use them later, like in an environment keyword, without any issue.