23 lines
797 B
YAML
23 lines
797 B
YAML
---
|
|
# roles/storage_mounts/defaults/main.yml
|
|
#
|
|
# NFS server and mount definitions for all lab VMs that require shared storage.
|
|
# Sourced from: ansible/group_vars/all.yml (lab_hosts.terramaster.current_ip)
|
|
#
|
|
# To override for a specific host, set storage_nfs_mounts in host_vars/<host>.yml.
|
|
# To skip a specific mount on a node, remove it from the host_vars override list.
|
|
|
|
storage_nfs_server: "10.0.0.250"
|
|
|
|
storage_nfs_mounts:
|
|
- src: "/Volume1/appdata"
|
|
dest: "/mnt/homelab"
|
|
opts: "defaults,_netdev"
|
|
# WHY _netdev: marks this as a network-dependent mount so systemd waits
|
|
# for the network to be up before attempting to mount on boot. Prevents
|
|
# hung boot when the NAS is temporarily unreachable.
|
|
|
|
- src: "/Volume2/media"
|
|
dest: "/mnt/media"
|
|
opts: "defaults,_netdev"
|