-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathnfs.yml
More file actions
22 lines (19 loc) · 949 Bytes
/
nfs.yml
File metadata and controls
22 lines (19 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
nfs_server: "{{ nfs_server_default }}"
caas_nfs_home:
- comment: Export /exports/home from Slurm control node as /home
nfs_enable:
server: "{{ inventory_hostname in groups['control'] }}"
clients: "{{ inventory_hostname in groups['cluster'] and inventory_hostname not in groups['control'] }}"
nfs_export: "/exports/home" # assumes default site TF is being used
nfs_client_mnt_point: "/home"
nfs_export_options: "rw,secure,root_squash"
caas_ood_zenith_state_dir:
- comment: Export /var/lib/state from Slurm control node
nfs_enable:
server: "{{ inventory_hostname in groups['control'] }}"
clients: "{{ inventory_hostname in groups['openondemand'] }}"
nfs_export: "/var/lib/state"
nfs_client_mnt_point: "/var/lib/state"
nfs_export_options: "rw,secure,root_squash"
nfs_configurations: "{{ caas_ood_zenith_state_dir + ( caas_nfs_home if not cluster_home_manila_share | bool else [] ) }}"