File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
ansible/roles/zenith_proxy/tasks
environments/.caas/inventory/group_vars/all Expand file tree Collapse file tree 2 files changed +14
-2
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 @@ -5,8 +5,18 @@ caas_nfs_home:
5
5
- comment : Export /exports/home from Slurm control node as /home
6
6
nfs_enable :
7
7
server : " {{ inventory_hostname in groups['control'] }}"
8
- clients : " {{ inventory_hostname in groups['cluster'] }}"
8
+ clients : " {{ inventory_hostname in groups['cluster'] and inventory_hostname not in groups['control'] }}"
9
9
nfs_export : " /exports/home" # assumes default site TF is being used
10
10
nfs_client_mnt_point : " /home"
11
+ nfs_export_options : " rw,secure,root_squash"
11
12
12
- nfs_configurations : " {{ caas_nfs_home if not cluster_home_manila_share | bool else [] }}"
13
+ caas_ood_zenith_state_dir :
14
+ - comment : Export /var/lib/state from Slurm control node
15
+ nfs_enable :
16
+ server : " {{ inventory_hostname in groups['control'] }}"
17
+ clients : " {{ inventory_hostname in groups['openondemand'] }}"
18
+ nfs_export : " /var/lib/state"
19
+ nfs_client_mnt_point : " /var/lib/state"
20
+ nfs_export_options : " rw,secure,root_squash"
21
+
22
+ 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