2016-05-06 02:20:03 +08:00
|
|
|
---
|
|
|
|
# You can override vars by using host or group vars
|
|
|
|
|
|
|
|
###########
|
|
|
|
# GENERAL #
|
|
|
|
###########
|
|
|
|
|
|
|
|
fetch_directory: fetch/
|
|
|
|
|
|
|
|
## Ceph options
|
|
|
|
#
|
|
|
|
cephx: true
|
|
|
|
|
|
|
|
#######################
|
|
|
|
# Access type options #
|
|
|
|
#######################
|
2016-08-18 20:24:48 +08:00
|
|
|
# These are currently in ceph-common defaults because nfs_obj_gw shared with ceph-rgw
|
2016-05-06 02:20:03 +08:00
|
|
|
# Enable NFS File access
|
2016-08-18 20:24:48 +08:00
|
|
|
#nfs_file_gw: true
|
2016-05-06 02:20:03 +08:00
|
|
|
# Enable NFS Object access
|
2016-08-18 20:24:48 +08:00
|
|
|
#nfs_obj_gw: false
|
2016-05-06 02:20:03 +08:00
|
|
|
|
|
|
|
######################
|
|
|
|
# NFS Ganesha Config #
|
|
|
|
######################
|
|
|
|
ceph_nfs_export_id: 20134
|
2016-08-18 20:24:48 +08:00
|
|
|
ceph_nfs_pseudo_path: "/cephfile"
|
2016-05-06 02:20:03 +08:00
|
|
|
ceph_nfs_protocols: "3,4"
|
|
|
|
ceph_nfs_access_type: "RW"
|
2016-07-21 21:17:19 +08:00
|
|
|
ceph_nfs_log_file: "/var/log/ganesha.log"
|
|
|
|
|
|
|
|
####################
|
|
|
|
# FSAL Ceph Config #
|
|
|
|
####################
|
|
|
|
ceph_nfs_ceph_export_id: 20134
|
2016-08-18 20:24:48 +08:00
|
|
|
ceph_nfs_ceph_pseudo_path: "/cephobject"
|
2016-07-21 21:17:19 +08:00
|
|
|
ceph_nfs_ceph_protocols: "3,4"
|
|
|
|
ceph_nfs_ceph_access_type: "RW"
|
|
|
|
|
|
|
|
###################
|
|
|
|
# FSAL RGW Config #
|
|
|
|
###################
|
|
|
|
ceph_nfs_rgw_export_id: 20134
|
|
|
|
ceph_nfs_rgw_pseudo_path: "/ceph"
|
|
|
|
ceph_nfs_rgw_protocols: "3,4"
|
|
|
|
ceph_nfs_rgw_access_type: "RW"
|
|
|
|
ceph_nfs_rgw_user: "cephnfs"
|
|
|
|
# Note: keys are optional and can be generated, but not on containerized, where
|
|
|
|
# they must be configered.
|
|
|
|
#ceph_nfs_rgw_access_key: "QFAMEDSJP5DEKJO0DDXY"
|
|
|
|
#ceph_nfs_rgw_secret_key: "iaSFLDVvDdQt6lkNzHyW4fPLZugBAI1g17LO0+87[MAC[M#C"
|
2016-05-06 02:20:03 +08:00
|
|
|
|
|
|
|
|
|
|
|
###################
|
|
|
|
# CONFIG OVERRIDE #
|
|
|
|
###################
|
|
|
|
|
|
|
|
# Ganesha configuration file override.
|
|
|
|
# This allows you to specify more configuration options
|
|
|
|
# using an INI style format.
|
|
|
|
# The following sections are supported: [global], [mon], [osd], [mds], [rgw]
|
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
# ceph_conf_overrides:
|
|
|
|
# global:
|
|
|
|
# foo: 1234
|
|
|
|
# bar: 5678
|
|
|
|
#
|
|
|
|
ganesha_conf_overrides: {}
|
|
|
|
|
|
|
|
##########
|
|
|
|
# DOCKER #
|
|
|
|
##########
|
|
|
|
|
|
|
|
nfs_containerized_deployment: false
|
|
|
|
nfs_containerized_deployment_with_kv: false
|
|
|
|
kv_type: etcd
|
|
|
|
kv_endpoint: 127.0.0.1
|
|
|
|
ceph_nfs_docker_username: ceph
|
|
|
|
ceph_nfs_docker_imagename: ganesha
|
2016-07-09 09:38:13 +08:00
|
|
|
ceph_nfs_docker_image_tag: latest
|
2016-05-06 02:20:03 +08:00
|
|
|
#ceph_nfs_docker_extra_env: "GANESHA_EPOCH={{ ganesha_epoch }}" # comma separated variables
|
|
|
|
ceph_docker_on_openstack: false
|