As SRC workspace domain names are now constructed as
[workspace].[co].src.surf-hosted.nl
We can set the JUPYTERHUB_URL env var for a more secure way of getting the URL.
The ansible tasks do not have access the workspace name or collaborative collaboration name form the ansible context. To configure the launcher in a ansible task the they should be added as application parameters when creating the workspace.
At the moment the experiment launcher constructs the JupyterHub URL based on the origin header in the http request, see https://github.com/eWaterCycle/experiment-launcher/blob/dd003084b6ac79ca243018f391e636a5facb528a/ewatercycle_experiment_launcher/process.py#L15-L16
As SRC workspace domain names are now constructed as
We can set the JUPYTERHUB_URL env var for a more secure way of getting the URL.
The ansible tasks do not have access the workspace name or collaborative collaboration name form the ansible context. To configure the launcher in a ansible task the they should be added as application parameters when creating the workspace.