Good way to share configuration between apps

Hello!

I tried to find if there is a way to share contents of the configuration between aps in the yml file, maybe I missed it somewhere.

In my conf.yml file I have a lot of redundancy especially in the attributes part of the apps (bc_desktop, codeserver, jupyter,…), which is not ideal when I need to modify part of it.

Is there some way to factorize it?

Thanks for your help,
have a very nice day,

Tristan

Not in the current releases, but in next release (coming out shortly) you’ll be able to do just that in an ondemand.d configuration.

I use ansible to deploy my apps. I’ve got almost everything extracted into variables and mappings. Then I just template everything in. It’s all basically just the same desktop, just run X command instead of Y app and pick from a list of versions. Everything else is boilerplate.

Thank you both for your answers! For now I’ll do it through ansible for the most critical parts and wait for the release for the rest.

Have a nice day!

Tristan