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
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
2021-03-03 22:43:50 +08:00
ceph_mds_docker_memory_limit : "{{ ansible_facts['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
2016-11-03 17:16:33 +08:00
ceph_config_keys : [ ] # DON'T TOUCH ME
2024-03-03 05:06:14 +08:00
# If you want to add parameters, you should retain the existing ones and include the new ones.
ceph_mds_container_params :
volumes :
- /var/lib/ceph/bootstrap-mds:/var/lib/ceph/bootstrap-mds:z
- /var/lib/ceph/mds/{{ cluster }}-{{ ansible_facts['hostname'] }}:/var/lib/ceph/mds/{{ cluster }}-{{ ansible_facts['hostname'] }}:z
args :
- -f
- -i={{ ansible_facts['hostname'] }}
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:
2024-02-14 18:14:02 +08:00
# ceph_mds_systemd_overrides:
# Service:
# PrivateDevices: false