2016-05-06 02:20:03 +08:00
|
|
|
---
|
|
|
|
# You can override vars by using host or group vars
|
|
|
|
|
|
|
|
###########
|
|
|
|
# GENERAL #
|
|
|
|
###########
|
|
|
|
|
|
|
|
fetch_directory: fetch/
|
|
|
|
|
2017-08-21 20:38:21 +08:00
|
|
|
# Even though NFS nodes should not have the admin key
|
|
|
|
# at their disposal, some people might want to have it
|
|
|
|
# distributed on RGW nodes. Setting 'copy_admin_key' to 'true'
|
|
|
|
# will copy the admin key to the /etc/ceph/ directory
|
|
|
|
copy_admin_key: yes
|
|
|
|
|
2016-05-06 02:20:03 +08:00
|
|
|
#######################
|
|
|
|
# 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
|
2017-08-21 20:38:21 +08:00
|
|
|
nfs_file_gw: false
|
2016-05-06 02:20:03 +08:00
|
|
|
# Enable NFS Object access
|
2017-08-21 20:38:21 +08:00
|
|
|
nfs_obj_gw: true
|
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
|
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
# DOCKER #
|
|
|
|
##########
|
|
|
|
|
2017-02-09 22:16:39 +08:00
|
|
|
ceph_docker_image: "ceph/ganesha"
|
|
|
|
ceph_docker_image_tag: latest
|
2016-12-16 21:53:14 +08:00
|
|
|
#ceph_nfs_docker_extra_env: -e GANESHA_EPOCH={{ ganesha_epoch }}
|
2016-11-03 17:16:33 +08:00
|
|
|
ceph_config_keys: [] # DON'T TOUCH ME
|