Skip to content

Commit 3641f48

Browse files
committed
make extra ondemand apps config easier
1 parent 2f73621 commit 3641f48

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

environments/common/inventory/group_vars/all/openondemand.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,14 @@ openondemand_clusters_grafana:
8282
host: "host"
8383
jobid: "jobid"
8484

85-
ood_install_apps_defaults:
85+
# define installation of openondemand apps (see openondemand_apps_* below for configuration):
86+
openondemand_install_apps_default:
8687
jupyter:
8788
repo: https://github.com/OSC/bc_example_jupyter.git
8889
version: master # defaults (optional)
89-
ood_install_apps: "{{ ood_install_apps_defaults if openondemand_jupyter_partition | default(none) else {} }}"
90+
openondemand_install_apps_extra: {} # mapping, values as for ansible.builtin.git: repo (required)/dest/version(default main)/umask
91+
# osc:ood role var (NB only active when not in configure):
92+
ood_install_apps: "{{ openondemand_install_apps_default if openondemand_jupyter_partition | default(none) else {} | combine(openondemand_install_apps_extra) }}"
9093

9194
# https://github.com/OSC/ondemand/tree/master/apps/bc_desktop
9295
# also https://osc.github.io/ood-documentation/latest/enable-desktops/custom-job-submission.html#enable-desktops-custom-job-submission

0 commit comments

Comments
 (0)