From 5a6542066e2db41af834ca2bb16a3c9d008f58bb Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Mon, 27 Jan 2025 11:48:07 +0530 Subject: [PATCH] sit.cephfs: Add configuration for proxy enabled shares The additional share configuration is currently included only for default variant where ceph smb mgr module is not involved. Signed-off-by: Anoop C S --- playbooks/ansible/roles/sit.cephfs/templates/smb_share.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/ansible/roles/sit.cephfs/templates/smb_share.conf.j2 b/playbooks/ansible/roles/sit.cephfs/templates/smb_share.conf.j2 index 424e4bf..ba45678 100644 --- a/playbooks/ansible/roles/sit.cephfs/templates/smb_share.conf.j2 +++ b/playbooks/ansible/roles/sit.cephfs/templates/smb_share.conf.j2 @@ -9,6 +9,9 @@ vfs objects = acl_xattr ceph_snapshots {%- endif %} {{ vfs }} {{ vfs }}:config_file = /etc/ceph/sit.ceph.conf {{ vfs }}:user_id = sit + {%- if method == 'vfs-new-proxy' +%} +{{ vfs }}:proxy = yes + {%- endif +%} path = {{ subvol }} {%- else +%} path = {{ path }}