mirror of
https://github.com/fscotto/infra.git
synced 2026-09-27 19:03:47 +00:00
Mount the shared Archive in Syncthing
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
- backend_phase1_npm_source_ip != 'CHANGEME_AEGIS_IP'
|
||||
- backend_phase1_syncthing_native_subnet != 'CHANGEME_LAN_SUBNET'
|
||||
- backend_phase1_music_dir.startswith('/')
|
||||
- backend_phase1_archive_dir.startswith('/')
|
||||
- backend_phase1_syncthing_folder_path.startswith(backend_phase1_archive_dir + '/')
|
||||
- backend_phase1_app_data_root.startswith('/')
|
||||
- backend_phase1_navidrome_data_dir.startswith(backend_phase1_app_data_root + '/')
|
||||
- backend_phase1_syncthing_root.startswith(backend_phase1_app_data_root + '/')
|
||||
@@ -52,6 +54,8 @@
|
||||
loop:
|
||||
- dataset: "{{ backend_phase1_music_dataset }}"
|
||||
mountpoint: "{{ backend_phase1_music_dir }}"
|
||||
- dataset: "{{ backend_phase1_archive_dataset }}"
|
||||
mountpoint: "{{ backend_phase1_archive_dir }}"
|
||||
- dataset: "{{ backend_phase1_app_data_dataset }}"
|
||||
mountpoint: "{{ backend_phase1_app_data_root }}"
|
||||
- dataset: "{{ backend_phase1_navidrome_dataset }}"
|
||||
@@ -104,6 +108,8 @@
|
||||
mode: "0750"
|
||||
- path: "{{ backend_phase1_syncthing_root }}"
|
||||
mode: "0750"
|
||||
- path: "{{ backend_phase1_syncthing_folder_path }}"
|
||||
mode: "0770"
|
||||
loop_control:
|
||||
label: "{{ item.path }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user