Ansible-NAS is an Ansible playbook that sets up applications of your choice on your home server.
- A Linux environment with Ansible installed (in Ansible terms the "control node"). See the official Installing Ansible docs for more info.
- SSH access to an Ubuntu 22.04 server that'll become your Ansible-NAS box. It's recommended to use a fresh Ubuntu Server 22.04 installation. Do not use non-LTS releases.
The control node and your Ansible-NAS box can be the same computer, if you choose.
Before running anything, check out the playbook and understand what it does. Do not blindly download code from the internet and trust that it's going to work as you expect.
git clone https://github.com/davestephens/ansible-nas.git && cd ansible-nas
Create your own inventory and config files by copying
inventories/sampleto your own directory:
cp -rfp inventories/sample inventories/my-ansible-nas
group_vars/all.yml. Change settings by overriding them in
Install the dependent roles:
ansible-galaxy install -r requirements.yml.
Run the playbook -
ansible-playbook -i inventories/my-ansible-nas/inventory nas.yml -b -K