Skip to content

Commit 97c1223

Browse files
committed
fix TOFO ssh key prompt in OOD web shell for IPA hosts
1 parent 406d94b commit 97c1223

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ openondemand_dashboard_links_grafana:
3434
url: "{{ grafana_url_openondemand_proxy }}"
3535
openondemand_dashboard_links: "{{ openondemand_dashboard_links_grafana if groups['grafana'] | length > 0 }}"
3636

37-
openondemand_login_host: localhost
37+
# For FreeIPA-enroled hosts, the shell host must be an IPA-registered host to avoid an ssh key prompt
38+
openondemand_login_host: "{{ inventory_hostname if inventory_hostname in groups['freeipa_client'] else 'localhost' }}"
3839

3940
openondemand_clusters:
4041
slurm:

0 commit comments

Comments
 (0)