2016-04-04 06:35:09 +08:00
---
#########
# SETUP #
#########
2017-06-24 02:54:50 +08:00
fetch_directory : fetch/
2016-11-03 17:16:33 +08:00
2017-06-24 02:54:50 +08:00
# Even though rbd-mirror nodes should not have the admin key
# at their disposal, some people might want to have it
# distributed on rbd-mirror nodes. Setting 'copy_admin_key' to 'true'
# will copy the admin key to the /etc/ceph/ directory. Only
# valid for Luminous and later releases.
copy_admin_key : false
2016-04-04 06:35:09 +08:00
2017-06-24 02:54:50 +08:00
# NOTE: deprecated generic local user id for pre-Luminous releases
ceph_rbd_mirror_local_user : "admin"
2016-07-12 18:15:22 +08:00
2017-09-06 16:53:30 +08:00
2016-04-04 06:35:09 +08:00
#################
# CONFIGURATION #
#################
ceph_rbd_mirror_configure : false
ceph_rbd_mirror_pool : ""
2019-09-05 02:35:20 +08:00
ceph_rbd_mirror_mode : pool
2016-07-12 18:15:22 +08:00
2017-06-24 02:54:50 +08:00
# NOTE (leseb): the following variable needs the name of the remote cluster.
# The name of this cluster must be different than your local cluster simply
# because we need to have both keys and ceph.conf inside /etc/ceph.
# Thus if cluster names are identical we can not have them under /etc/ceph
ceph_rbd_mirror_remote_cluster : ""
# NOTE: the rbd-mirror daemon needs a user to authenticate with the
# remote cluster. By default, this key should be available under
# /etc/ceph/<remote_cluster>.client.<remote_user>.keyring
ceph_rbd_mirror_remote_user : ""
2016-07-12 18:15:22 +08:00
2017-09-06 16:53:30 +08:00
2016-07-12 18:15:22 +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
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_rbd_mirror_docker_extra_env' variable.
2018-10-29 18:46:46 +08:00
ceph_rbd_mirror_docker_memory_limit : "{{ ansible_memtotal_mb }}m"
2017-09-06 16:53:30 +08:00
ceph_rbd_mirror_docker_cpu_limit : 1
ceph_rbd_mirror_docker_extra_env :
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_rbd_mirror_systemd_overrides will override the systemd settings
# for the ceph-rbd-mirror services.
# For example,to set "PrivateDevices=false" you can specify:
#ceph_rbd_mirror_systemd_overrides:
# Service:
# PrivateDevices: False