Ansible-NAS is an open-source project that turns a low-power computer into a Network-Attached Storage (NAS) device. This tutorial will guide you through the process of installing Ansible-NAS on POP! OS Latest, a popular Linux distribution based on Ubuntu.
Ctrl+Alt+T
.sudo apt update
sudo apt install ansible
sudo apt install git
git clone https://github.com/DaveStephens/ansible-nas.git
cd ansible-nas/
group_vars/all.yml
using a text editor of your choice:nano group_vars/all.yml
# Required: Set the NAS hostname
nas_hostname: your_hostname
# Required: Set the NAS administrator password
nas_password: your_password
# Optional: Change the timezone (default is "Etc/UTC")
nas_timezone: your_timezone
# Optional: Set the network interface (default is "eth0")
nas_interface: your_network_interface
# Optional: Set the IP address (default is "192.168.1.1")
nas_ip_address: your_ip_address
# Optional: Set the DHCP range (default is "192.168.1.100,192.168.1.200")
nas_dhcp_start: your_dhcp_start
nas_dhcp_end: your_dhcp_end
# Optional: Set the storage disk (default is "/dev/sda")
nas_disk: your_storage_disk
# Optional: Set the storage format (default is "ext4")
nas_format: your_storage_format
Ctrl+X
, followed by Y
, and then Enter
.ansible-playbook -i inventory nas.yml
Congratulations! You have successfully installed Ansible-NAS on POP! OS Latest. You can now access your NAS device using the configured hostname or IP address in a web browser.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!