From fdd4631744a4a66a4bc33d0b3088b6dc0b8ee143 Mon Sep 17 00:00:00 2001 From: saltydk Date: Sat, 7 Oct 2023 23:26:48 +0200 Subject: [PATCH] cloudplow: fix template --- roles/cloudplow/templates/config.json.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/cloudplow/templates/config.json.j2 b/roles/cloudplow/templates/config.json.j2 index ce69144202..ad8c3cdcdb 100644 --- a/roles/cloudplow/templates/config.json.j2 +++ b/roles/cloudplow/templates/config.json.j2 @@ -56,9 +56,9 @@ } }, "remove_empty_dir_depth": 2, - "sync_remote": "{{ (remote.remote if ':' in remote.remote else remote.remote + ':/Media') if (remote.template != "nfs") else '/mnt/remote/' + item.remote.split(':')[0] if ':' in item.remote else item.remote }}", + "sync_remote": "{{ (remote.remote if ':' in remote.remote else remote.remote + ':/Media') if (remote.template != "nfs") else '/mnt/remote/' + remote.remote.split(':')[0] if ':' in remote.remote else remote.remote }}", "upload_folder": "{{ remote.upload_from }}", - "upload_remote": "{{ (remote.remote if ':' in remote.remote else remote.remote + ':/Media') if (remote.template != "nfs") else '/mnt/remote/' + item.remote.split(':')[0] if ':' in item.remote else item.remote }}" + "upload_remote": "{{ (remote.remote if ':' in remote.remote else remote.remote + ':/Media') if (remote.template != "nfs") else '/mnt/remote/' + remote.remote.split(':')[0] if ':' in remote.remote else remote.remote }}" {% if loop.index == loop.length %}}{% else %}},{{ '\n' }}{% endif %} {% endfor %}