Skip to content

Commit e954e6e

Browse files
authored
Merge pull request #31 from stackhpc/fix/ood-hosts-regex
Fix openondemand_host_regex and default app partitions
2 parents 3323346 + bae6ae0 commit e954e6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

group_vars/openondemand.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
openondemand_auth: basic_pam
3-
openondemand_jupyter_partition: "compute"
4-
openondemand_desktop_partition: "compute"
3+
openondemand_jupyter_partition: "{{ openhpc_slurm_partitions[0]['name'] }}"
4+
openondemand_desktop_partition: "{{ openhpc_slurm_partitions[0]['name'] }}"
55

66
httpd_listen_addr_port:
77
- 80
88
- 443
99

1010
# Allow proxying to compute nodes for apps and control for monitoring only when the grafana group is available
11-
openondemand_host_regex: '({{ openhpc_cluster_name ~ "-compute-\d+)" ~ ( "|(" ~ groups["grafana"][0] ~ ")" if "grafana" in groups else "" ) }}'
11+
openondemand_host_regex: "{{ (groups['compute'] + groups['grafana']) | to_ood_regex }}"
1212

1313
# Add grafana to dashboard links to OOD only if grafana group is available
1414
openondemand_dashboard_links_grafana:

0 commit comments

Comments
 (0)