generate groups config with template