11# shared variables
22fhpc_local_ssh_dir : " {{ fhpc_cluster_state_dir }}/ssh"
33fhpc_local_ca_dir : " {{ fhpc_cluster_state_dir }}/ca"
4- fhpc_ldap_server : " {{ groups['admin'][0] }}"
4+ fhpc_admin_server : " {{ groups['admin'][0] }}"
55fhpc_ldap_base : " dc=cluster,dc={{ fhpc_cluster }}"
66fhpc_primary_group : " {{ fhpc_groups[0].name }}"
77fhpc_slurm_with_jwt : false
@@ -16,20 +16,20 @@ common_ip_addresses: "{{ fhpc_addresses }}"
1616common_cluster : " {{ fhpc_cluster }}"
1717ssh_key_dir : " {{ fhpc_local_ssh_dir }}"
1818ldap_local_ca_dir : " {{ fhpc_local_ca_dir }}"
19- ldap_server_hostname : " {{ fhpc_ldap_server }}"
19+ ldap_server_hostname : " {{ fhpc_admin_server }}"
2020ldap_local_admin_password_file : " {{ fhpc_cluster_state_dir }}/ldap/ldap.password"
2121ldap_base : " dc=cluster,dc={{ fhpc_cluster }}"
2222ldap_domain : " cluster.{{ fhpc_cluster }}"
2323ldap_email_domain : " cluster.{{ fhpc_cluster }}"
2424ldap_users : " {{ fhpc_users }}"
2525ldap_groups : " {{ fhpc_groups }}"
2626sssd_ldap_base : " {{ fhpc_ldap_base }}"
27- sssd_ldap_server : " {{ fhpc_ldap_server }}"
27+ sssd_ldap_server : " {{ fhpc_admin_server }}"
2828users_ssh_host_key_dir : " {{ fhpc_local_ssh_dir }}"
2929users_defs : " {{ fhpc_users }}"
3030users_group : " {{ fhpc_primary_group }}"
3131slurm_emulator : " {{ fhpc_emulator_mode }}"
32- slurm_server : " {{ groups['admin'][0] }}"
32+ slurm_server : " {{ fhpc_admin_server }}"
3333# This hash associates slurm profiles in keys with a group of nodes on which the
3434# the profile must be applied when slurm_emulator is false. When slurm_emulator
3535# is true, all slurm profiles are applied on the single admin node.
@@ -52,6 +52,8 @@ slurm_restd_port: "{{ fhpc_slurmrestd_port }}"
5252slurm_accounts : " {{ fhpc_groups }}"
5353racksdb_database : " {{ fhpc_db }}"
5454redis_local_password_file : " {{ fhpc_cluster_state_dir }}/redis/redis.password"
55+ slurmweb_local_ca_dir : " {{ fhpc_local_ca_dir }}"
56+ slurmweb_hostname : " {{ fhpc_admin_server }}"
5557slurmweb_local_slurmrestd_jwt_key_file : " {{ fhpc_local_slurm_jwt_key }}"
5658slurmweb_slurmrestd_uri : " {{ fhpc_slurmrestd_with_unix_socket | ternary('unix:' ~ fhpc_slurmrestd_socket, 'http://localhost:' ~ fhpc_slurmrestd_port ) }}"
5759slurmweb_slurmrestd_auth : " {{ fhpc_slurm_with_jwt | ternary('jwt', 'local') }}"
@@ -73,14 +75,14 @@ slurmweb_agent_settings_defaults:
7375 password : " {{ lookup('ansible.builtin.file', redis_local_password_file) }}"
7476slurmweb_gateway_settings_defaults :
7577 ui :
76- host : " http ://{{ slurmweb_hostname }}.{{ fhpc_namespace }}"
78+ host : " https ://{{ slurmweb_hostname }}.{{ fhpc_namespace }}"
7779 agents :
78- url : " http ://{{ slurmweb_hostname }}/{{ slurmweb_agent_subdir }}"
80+ url : " https ://{{ slurmweb_hostname }}/{{ slurmweb_agent_subdir }}"
7981 authentication :
8082 enabled : yes
8183 ldap :
82- uri : " ldaps://{{ fhpc_ldap_server }}/"
84+ uri : " ldaps://{{ fhpc_admin_server }}/"
8385 user_base : " ou=people,{{ fhpc_ldap_base }}"
8486 group_base : " ou=groups,{{ fhpc_ldap_base }}"
85- metrics_ldap_server : " {{ fhpc_ldap_server }}"
87+ metrics_ldap_server : " {{ fhpc_admin_server }}"
8688metrics_ldap_search_base : " {{ fhpc_ldap_base }}"
0 commit comments