mirror of https://github.com/ceph/ceph-ansible.git
ceph-nfs - add bind address variable
parent
54de2efc5d
commit
291e6b604d
|
@ -44,6 +44,10 @@ dummy:
|
|||
######################
|
||||
#ceph_nfs_log_file: "/var/log/ganesha/ganesha.log"
|
||||
#ceph_nfs_dynamic_exports: false
|
||||
# Address ganesha service should listen on, by default ganesha listens on all
|
||||
# addresses. (Note: ganesha ignores this parameter in current version due to
|
||||
# this bug: https://github.com/nfs-ganesha/nfs-ganesha/issues/217)
|
||||
# ceph_nfs_bind_addr: 0.0.0.0
|
||||
|
||||
####################
|
||||
# FSAL Ceph Config #
|
||||
|
|
|
@ -36,6 +36,10 @@ nfs_obj_gw: true
|
|||
######################
|
||||
ceph_nfs_log_file: "/var/log/ganesha/ganesha.log"
|
||||
ceph_nfs_dynamic_exports: false
|
||||
# Address ganesha service should listen on, by default ganesha listens on all
|
||||
# addresses. (Note: ganesha ignores this parameter in current version due to
|
||||
# this bug: https://github.com/nfs-ganesha/nfs-ganesha/issues/217)
|
||||
# ceph_nfs_bind_addr: 0.0.0.0
|
||||
|
||||
####################
|
||||
# FSAL Ceph Config #
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
%include /etc/ganesha/export.d/INDEX.conf
|
||||
{% endif %}
|
||||
|
||||
NFS_Core_Param
|
||||
{
|
||||
{% if ceph_nfs_bind_addr is defined %}
|
||||
Bind_Addr={{ ceph_nfs_bind_addr }};
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
|
||||
{% if nfs_file_gw %}
|
||||
EXPORT
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue