2016-02-29 23:35:07 +08:00
---
# You can override vars by using host or group vars
###########
# GENERAL #
###########
# Even though MDS nodes should not have the admin key
# at their disposal, some people might want to have it
# distributed on MDS nodes. Setting 'copy_admin_key' to 'true'
# will copy the admin key to the /etc/ceph/ directory
copy_admin_key : false
##########
# DOCKER #
##########
2017-09-06 16:53:30 +08:00
# Resource limitation
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
2019-06-03 21:27:40 +08:00
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html/red_hat_ceph_storage_hardware_selection_guide/ceph-hardware-min-recommend
2017-09-06 16:53:30 +08:00
# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
2018-10-29 18:46:46 +08:00
ceph_mds_docker_memory_limit : "{{ ansible_memtotal_mb }}m"
2019-04-24 03:54:38 +08:00
ceph_mds_docker_cpu_limit : 4
2017-09-06 16:53:30 +08:00
2017-08-31 18:04:40 +08:00
# we currently for MDS_NAME to hostname because of a bug in ceph-docker
# fix here: https://github.com/ceph/ceph-docker/pull/770
# this will go away soon.
ceph_mds_docker_extra_env : -e MDS_NAME={{ ansible_hostname }}
2016-11-03 17:16:33 +08:00
ceph_config_keys : [ ] # DON'T TOUCH ME
2017-07-05 21:47:48 +08:00
###########
# SYSTEMD #
###########
# ceph_mds_systemd_overrides will override the systemd settings
# for the ceph-mds services.
# For example,to set "PrivateDevices=false" you can specify:
#ceph_mds_systemd_overrides:
# Service:
# PrivateDevices: False