Skip to content

Commit 41c3fcd

Browse files
committed
move export cluster nfs group_var to common
1 parent c66ade8 commit 41c3fcd

File tree

2 files changed

+6
-7
lines changed
  • environments
    • .stackhpc/inventory/group_vars/all
    • common/inventory/group_vars/all

2 files changed

+6
-7
lines changed

environments/.stackhpc/inventory/group_vars/all/nfs.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,3 @@ nfs_configurations:
88
nfs_server: "{{ nfs_server_default }}"
99
nfs_export: "/exports/home" # assumes skeleton TF is being used
1010
nfs_client_mnt_point: "/home"
11-
12-
# EXPERIMENTAL - not generally secure
13-
- comment: Export /exports/cluster from Slurm control node
14-
nfs_enable:
15-
server: "{{ inventory_hostname in groups['control'] }}"
16-
clients: false
17-
nfs_export: "/exports/cluster"

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,9 @@ nfs_configurations:
2828
# NB: this is set as default for all shares above but is repeated here
2929
# in case nfs_export_clients is overriden
3030
nfs_export_clients: "{{ _nfs_node_ips }}"
31+
32+
- comment: Export /exports/cluster from Slurm control node
33+
nfs_enable:
34+
server: "{{ inventory_hostname in groups['control'] }}"
35+
clients: false
36+
nfs_export: "/exports/cluster"

0 commit comments

Comments
 (0)