File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
ansible/roles/zenith_proxy/tasks
environments/.caas/inventory/group_vars/all Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 61
61
group : " {{ zenith_proxy_podman_user }}"
62
62
mode : " 0755"
63
63
become : true
64
+ delegate_to : " {{ groups['control'] | first }}"
65
+ run_once : true
64
66
65
67
- name : Initialise Zenith client
66
68
# Use a foreground command rather than the podman_container module as I could not
Original file line number Diff line number Diff line change @@ -9,4 +9,12 @@ caas_nfs_home:
9
9
nfs_export : " /exports/home" # assumes default site TF is being used
10
10
nfs_client_mnt_point : " /home"
11
11
12
- nfs_configurations : " {{ caas_nfs_home if not cluster_home_manila_share | bool else [] }}"
12
+ caas_ood_zenith_state_dir :
13
+ - comment : Export /var/lib/state from Slurm control node
14
+ nfs_enable :
15
+ server : " {{ inventory_hostname in groups['control'] }}"
16
+ clients : " {{ inventory_hostname in groups['openondemand'] }}"
17
+ nfs_export : " /var/lib/state"
18
+ nfs_client_mnt_point : " /var/lib/state"
19
+
20
+ nfs_configurations : " {{ caas_ood_zenith_state_dir + ( caas_nfs_home if not cluster_home_manila_share | bool else [] ) }}"
You can’t perform that action at this time.
0 commit comments