Skip to content

Resolve #258: User-customisable location of `/var/homelabos` and `/mnt/nas`

Closes #258 (closed)

Uses the group_vars/all and config.yml to allow the user to set the root for both data and configuration.

  • storage_dir is used for the NAS root, or local storage if not using a NAS. Defaults to /mnt/nas
  • volumes_root is used for the service configurations and volumes. Defaults to /var/homelabos

All services have been updated to use {{ volumes_root }} and {{ storage_dir }} in place of hardcoded /var/homelabos paths. Documentation has also been updated to use {{ volumes_root }} and will display the user's choice when built using mkdocs.

There is already an open MR for this issue, but it's nearly 30 commits behind dev and hasn't been touched in months. After inspecting the branch, no work appeared to have been done toward the issue. dev has been merged into this branch, and it should be ready to pull in.

Merge request reports