diff --git a/group_vars/nfss.yml.sample b/group_vars/nfss.yml.sample index 47ba271b6..d52f00f7d 100644 --- a/group_vars/nfss.yml.sample +++ b/group_vars/nfss.yml.sample @@ -123,6 +123,7 @@ dummy: # #Entries_HWMark = 100000; #} # +#ganesha_core_param_overrides: #ganesha_ceph_export_overrides: #ganesha_rgw_export_overrides: #ganesha_rgw_section_overrides: diff --git a/roles/ceph-nfs/defaults/main.yml b/roles/ceph-nfs/defaults/main.yml index e98bfb9f9..07ed97b91 100644 --- a/roles/ceph-nfs/defaults/main.yml +++ b/roles/ceph-nfs/defaults/main.yml @@ -115,6 +115,7 @@ rgw_client_name: client.rgw.{{ ansible_facts['hostname'] }} #Entries_HWMark = 100000; #} # +#ganesha_core_param_overrides: #ganesha_ceph_export_overrides: #ganesha_rgw_export_overrides: #ganesha_rgw_section_overrides: diff --git a/roles/ceph-nfs/templates/ganesha.conf.j2 b/roles/ceph-nfs/templates/ganesha.conf.j2 index 8c45255c1..aa1599112 100644 --- a/roles/ceph-nfs/templates/ganesha.conf.j2 +++ b/roles/ceph-nfs/templates/ganesha.conf.j2 @@ -10,6 +10,7 @@ NFS_Core_Param {% if ceph_nfs_bind_addr is defined %} Bind_Addr={{ ceph_nfs_bind_addr }}; {% endif %} +{{ ganesha_core_param_overrides | default(None) }} } {% if ceph_nfs_disable_caching or nfs_file_gw %}