Skip to content

Commit 35ba408

Browse files
committed
make OOD login host configurable & default to localhost
1 parent 44608ac commit 35ba408

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ openondemand_dashboard_links_grafana:
2424
url: "{{ grafana_url_openondemand_proxy }}"
2525
openondemand_dashboard_links: "{{ openondemand_dashboard_links_grafana if groups['grafana'] | length > 0 }}"
2626

27+
openondemand_login_host: localhost
28+
2729
openondemand_clusters:
2830
slurm:
2931
v2:
3032
metadata:
3133
title: "{{ openhpc_cluster_name }}" # interpolation here works as openondemand is lexically after openhpc
3234
login:
33-
host: "{{ hostvars[groups['login'].0].api_address }}"
35+
host: "{{ openondemand_login_host }}"
3436
default: true
3537
job:
3638
adapter: slurm

0 commit comments

Comments
 (0)