This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
xnat_link_data_directory
variable for XNAT role (#3)
- add `xnat_link_data_directory` variable for `xnat` role (defaults to `true`) - there is already a `xnat_create_data_directory` that if `true` will ensure `xnat_web_server.storage_dir` exists with `tomcat` as the owner, and then creates a symbolic link to `external_storage_drive` - however, we need to distinguish between creating the data directory and linking to external storage - if `external_storage_directory` is defined, and is the same path as the XNAT storage directory, then we musn't create and set permissions for this path in the XNAT role. If we did, the mounted storage will have the incorrect permissions - so, if the `external_storage_drive` is the same path as `xnat_web_server.storage_dir`, then the following values should be set: ```yaml xnat_create_data_directory: false # don't set permissions for the mounted storage xnat_link_data_directory: true ```
- Loading branch information