mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #2054 from jprovaznik/bindaddr
ceph-nfs - add bind address variablepull/2091/head
commit
2bc58684e5
|
@ -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