2016-04-04 06:35:09 +08:00
---
# Variables here are applicable to all host groups NOT roles
# This sample file generated by generate_group_vars_sample.sh
# Dummy variable to avoid error because ansible does not recognize the
# file as a good configuration file when no variable in it.
dummy:
#########
# SETUP #
#########
2017-08-23 21:33:48 +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-09-06 16:53:30 +08:00
2016-04-04 06:35:09 +08:00
#################
# CONFIGURATION #
#################
2022-05-12 23:22:54 +08:00
#ceph_rbd_mirror_local_user: client.rbd-mirror-peer
2016-04-04 06:35:09 +08:00
#ceph_rbd_mirror_configure: false
2019-09-05 02:35:20 +08:00
#ceph_rbd_mirror_mode: pool
2022-05-12 23:22:54 +08:00
#ceph_rbd_mirror_remote_cluster: remote
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
# 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
# These options can be passed using the 'ceph_rbd_mirror_docker_extra_env' variable.
2021-03-03 22:43:50 +08:00
#ceph_rbd_mirror_docker_memory_limit: "{{ ansible_facts['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
2016-07-12 18:15:22 +08:00
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