This repository contains my Ansible deployment for OpenMediaVault - an opensource network attached storage solution. Therefore i am using two Raspberry Pi 5 with the Radxa Penta SATA HAT and some SSDs.
Important! The installation of OpenMediaVault is currently only supported on Debian Linux (See docs).
- Ensure you have Ansible installed (e.g.
pip3 install ansible) - Development: Install the pip packages listed in requirements.txt
The installtion is described without any custom configurations which must be made (e.g. boot-config for the SATA HAT) in order to get your hardware working.
-
Copy the
example.inventory.ymlfile toinventory.ymland setup setup a variables file for your configuration. Therefore you have tocopy example.config.ymltoconfig.yml. Also have a look into the roles defaults. -
Run the Ansible playbook to deploy OpenMediaVault
ansible-playbook play-omv.yml --extra-vars "@config.yml"- (Optional) Install OpenMediaVault Extras (e.g. ZFS-Support). Read more about the OMV-Extras here.
ansible-playbook play-omv-extras.yml --extra-vars "@config.yml"-
Open a new Browser Window and navigate to the OpenMediaVault GUI
- URL:
http://omv.local - Username:
admin - Password:
openmediavault
Important! Change the default OpenMediaVault admin password immediately!
- URL:
To get the Radxa Penta SATA HAT working on the Raspberry Pi 5, you need to configure some boot options. Therefore you can use my Raspberry Pi ansible configuration role here.
rpi_config:
- regexp: "^#?dtparam=pciex1$"
line: "dtparam=pciex1"
- regexp: "^#?dtparam=pciex1_gen"
line: "dtparam=pciex1_gen=3"Copyright © 2024 Niclas Spreng
Licensed under the MIT license.