File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
ansible/roles/compute_init/files
environments/common/inventory/group_vars/all Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 193193 tasks_from : nfs-clients.yml
194194 when :
195195 - enable_nfs
196- - nfs_enable.clients | default( item.nfs_enable.clients) | bool
196+ - nfs_enable.server | bool or ('nfs_enable' in item and item .nfs_enable.server | bool)
197197 loop : " {{ nfs_configurations }}"
198198
199199 - name : Manila mounts
Original file line number Diff line number Diff line change @@ -24,17 +24,9 @@ nfs_configurations:
2424 # NB: this is stackhpc.nfs role defaults but are set here to prevent being
2525 # accidently overriden via default options
2626 nfs_export_options : ' rw,secure,root_squash'
27- # prevent non-cluster IPs mounting the share:
28- # NB: this is set as default for all shares above but is repeated here
29- # in case nfs_export_clients is overriden
30- nfs_export_clients : " {{ _nfs_node_ips }}"
3127
3228 - comment : Export /exports/cluster from Slurm control node
3329 nfs_enable :
3430 server : " {{ inventory_hostname in groups['control'] }}"
3531 clients : false
3632 nfs_export : " /exports/cluster"
37- # prevent non-cluster IPs mounting the share:
38- # NB: this is set as default for all shares above but is repeated here
39- # in case nfs_export_clients is overriden
40- nfs_export_clients : " {{ _nfs_node_ips }}"
You can’t perform that action at this time.
0 commit comments