@@ -82,16 +82,21 @@ openondemand_clusters_grafana:
82
82
jobid : " jobid"
83
83
84
84
# define installation of openondemand apps (see openondemand_apps_* below for configuration):
85
- openondemand_install_apps_default :
85
+ openondemand_install_app_jupyter :
86
86
jupyter :
87
87
repo : https://github.com/OSC/bc_example_jupyter.git
88
88
version : master # defaults (optional)
89
- openondemand_install_apps_extra : # mapping, values as for ansible.builtin.git: repo (required)/dest/version(default main)/umask
89
+ openondemand_install_app_rstudio : # mapping, values as for ansible.builtin.git: repo (required)/dest/version(default main)/umask
90
90
rstudio :
91
91
repo : https://github.com/stackhpc/ood-stackhpc-rstudio.git
92
92
version : main
93
93
# osc:ood role var (NB only active when not in configure):
94
- ood_install_apps : " {{ openondemand_install_apps_default if openondemand_jupyter_partition | default(none) else {} | combine(openondemand_install_apps_extra) }}"
94
+ ood_install_apps : >-
95
+ {{
96
+ {}
97
+ | combine(openondemand_install_app_jupyter if openondemand_jupyter_partition else {})
98
+ | combine(openondemand_install_app_rstudio if openondemand_rstudio_partition else {})
99
+ }}
95
100
96
101
# https://github.com/OSC/ondemand/tree/master/apps/bc_desktop
97
102
# also https://osc.github.io/ood-documentation/latest/enable-desktops/custom-job-submission.html#enable-desktops-custom-job-submission
@@ -225,7 +230,7 @@ openondemand_apps:
225
230
ood_brand_bg_color : " #0e6ec8"
226
231
ood_dashboard_title : " {{ openhpc_cluster_name }}"
227
232
228
- ood_apps : " {{ openondemand_apps | combine(openondemand_apps_jupyter) | combine(openondemand_apps_desktop) }}"
233
+ ood_apps : " {{ openondemand_apps | combine(openondemand_apps_jupyter) | combine(openondemand_apps_desktop) | combine(openondemand_apps_rstudio) }}"
229
234
230
235
# Prometheus config for Open Ondemand exporter
231
236
# https://osc.github.io/ood-documentation/latest/monitoring/prometheus.html#prometheus-configuration
0 commit comments