nas
Ansible role that deployss my nas configuration. It mostly handles nfs configurations and exports that are tailored to the hardware and service configuration.
yannick
README
NAS
NFS server, optional RAID, network bonding, and storage performance tuning.
Key Parameters
| Variable | Default | Description |
|---|---|---|
nas_nfs_enabled |
true |
Install and configure NFS server |
nas_nfs_exports |
[] |
NFS export definitions (path, network, options) |
nas_raid_enabled |
false |
Configure mdadm RAID array |
nas_raid_level |
5 |
RAID level (0/1/5/6/10) |
nas_raid_devices |
[] |
Block devices for the array |
nas_bonding_enabled |
false |
Configure network interface bonding |
nas_performance_tuning_enabled |
true |
Apply network/filesystem performance tweaks |
nas_runner_*_path |
various | Storage paths exported for runner services |
Workflow
- Install NFS packages (nfs-kernel-server, rpcbind)
- Configure network bonding via netplan (if enabled)
- Create storage directories with proper permissions
- Write
/etc/exportsand reload NFS - Apply performance tuning (TCP buffers, NFS threads, readahead)
Repository Statistics
0
Stars
0
Forks
1
Watchers
0
Issues
Default Branch:main
Primary Language:Jinja
Created:August 31, 2025
Last Updated:February 23, 2026
Repository Size:0.05 KB