Closed hereisderek closed 1 year ago
You can override the current folder list. I agree that it makes more sense to have a separate variable in this case and will think on how we can rework the roles to make such edits less annoying to do than having to edit all the roles.
Something like this? https://github.com/saltyorg/Saltbox/commit/583ea5c89af45fc2ac5c07732f82f3dc81500bee
Something like this? 583ea5c
pretty much, except that i still don't see a way to add custom folder lists
You just add
rolename_paths_folders_list_custom:
- /some/folder
to the inventory.
Inventory is covered here https://docs.saltbox.dev/saltbox/inventory/
ah, somehow I missed that, my bad.
yes this is exactly what i wanted
I'll close this then.
Describe the problem i have a really small ssd therefore i need to be mindful where to use the precious space at, i was doing some
du
on the/opt
folder, and found a few folders (e.g. metadata/cache in plex) i'm hoping to move out of /opt (,which i plan to host on the ssd). I noticed that we can overrideradarr_docker_volumes_custom
in thelocalhost.yml
folder, which is really nice, however I couldn't find a way to create the host folder if they don't exist.Describe any solutions you think might work i guess we could create a custom role just for this, but maybe we could follow the pattern of
radarr_docker_volumes_custom
and create something like{{ role_name }}_paths_folders_list_custom
, and create those folders (maybe even check permissions) in thecommon
role after reading those values out?Additional context Add any other context or screenshots about the feature request here.