Ansible-NAS

Build a full-featured home server or NAS replacement with an Ubuntu box and this playbook. - davestephens/ansible-nas

Service

TODO

Setup

Ansible

  • group_vars/all.yml and follow the instructions there for configuring your Ansible NAS.
  • Copy inventory.dist to inventory and update it.
  • Install the dependent roles: ansible-galaxy install -r requirements.yml (you might need sudo to install Ansible roles)
  • Run the playbook - something like
    • env ANSIBLE_NOCOWS=1 ansible-playbook -i inventory nas.yml -b -K should do you nicely.

System Setup

Monitoring

Remote Access

Shared Folder

NFS

List of expored folder are part of ansible configuration in group_var/all.yml (search for NFS), it maps the content of /etc/exports:

nfs_exports:
  - "/Film *(rw,sync,no_root_squash)"

Sambar - TBD

Forum Discussion

Written on April 10, 2019, Last update on October 22, 2023
nas zfs ansible monitoring