2017-03-16 17:17:08 +08:00
---
2018-04-11 23:15:29 +08:00
##########
# GLOBAL #
##########
# Even though MGR nodes should not have the admin key
# at their disposal, some people might want to have it
# distributed on MGR nodes. Setting 'copy_admin_key' to 'true'
# will copy the admin key to the /etc/ceph/ directory
copy_admin_key : false
2019-05-02 20:48:00 +08:00
mgr_secret : 'mgr_secret'
2018-04-11 23:15:29 +08:00
2017-10-16 21:04:23 +08:00
###########
# MODULES #
###########
2023-03-09 18:18:48 +08:00
# Ceph mgr modules to enable, to view the list of available modules see: http://docs.ceph.com/docs/CEPH_VERSION/mgr/
2018-12-06 20:58:37 +08:00
# and replace CEPH_VERSION with your current Ceph version, e,g: 'mimic'
ceph_mgr_modules : [ ]
2017-10-16 21:04:23 +08:00
2019-04-16 00:15:49 +08:00
############
# PACKAGES #
############
# Ceph mgr packages to install, ceph-mgr + extra module packages.
ceph_mgr_packages :
- ceph-mgr
2018-04-11 23:15:29 +08:00
2017-03-16 17:17:08 +08:00
##########
# 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_mgr_docker_memory_limit : "{{ ansible_facts['memtotal_mb'] }}m"
2017-09-06 16:53:30 +08:00
ceph_mgr_docker_cpu_limit : 1
2017-03-16 17:17:08 +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_mgr_container_params :
volumes :
- /var/lib/ceph/mgr:/var/lib/ceph/mgr:z,rshared
- /var/lib/ceph/bootstrap-mgr:/var/lib/ceph/bootstrap-mgr:z
args :
- -f
- -i={{ ansible_facts['hostname'] }}
2017-07-05 21:47:48 +08:00
###########
# SYSTEMD #
###########
# ceph_mgr_systemd_overrides will override the systemd settings
# for the ceph-mgr services.
# For example,to set "PrivateDevices=false" you can specify:
2024-02-14 18:14:02 +08:00
# ceph_mgr_systemd_overrides:
# Service:
# PrivateDevices: false