mirror of https://github.com/ceph/ceph-ansible.git
70 lines
2.2 KiB
Plaintext
70 lines
2.2 KiB
Plaintext
---
|
|
# 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 #
|
|
#########
|
|
|
|
# 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
|
|
|
|
# NOTE: deprecated generic local user id for pre-Luminous releases
|
|
#ceph_rbd_mirror_local_user: "admin"
|
|
|
|
|
|
#################
|
|
# CONFIGURATION #
|
|
#################
|
|
|
|
#ceph_rbd_mirror_configure: false
|
|
#ceph_rbd_mirror_pool: ""
|
|
#ceph_rbd_mirror_mode: pool
|
|
|
|
# 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: ""
|
|
|
|
|
|
##########
|
|
# DOCKER #
|
|
##########
|
|
|
|
# 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.
|
|
#ceph_rbd_mirror_docker_memory_limit: "{{ ansible_facts['memtotal_mb'] }}m"
|
|
#ceph_rbd_mirror_docker_cpu_limit: 1
|
|
|
|
#ceph_rbd_mirror_docker_extra_env:
|
|
#ceph_config_keys: [] # DON'T TOUCH ME
|
|
|
|
|
|
###########
|
|
# 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
|
|
|