If you have a role with multiple variants, the configuration of all but the first variant are not accounted for in the final model.
Take this variants definition in a role tomcat-services (from the examples)
and this environment definition:
and you'll get this in the model:
it works however if you switch the order of the variants to be [ importer , services ].
I would expect the configuration values of all variants to be merged into the final configuration in the order of the variant declaration in the environment.