2016-02-29 23:35:07 +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:
# You can override vars by using host or group vars
###########
# GENERAL #
###########
# Even though RGW nodes should not have the admin key
# at their disposal, some people might want to have it
# distributed on RGW nodes. Setting 'copy_admin_key' to 'true'
# will copy the admin key to the /etc/ceph/ directory
#copy_admin_key: false
2018-04-16 21:57:23 +08:00
##########
# TUNING #
##########
2017-04-20 00:30:40 +08:00
2017-08-18 01:25:20 +08:00
# To support buckets with a very large number of objects it's
2017-04-20 00:30:40 +08:00
# important to split them into shards. We suggest about 100K
# objects per shard as a conservative maximum.
#rgw_override_bucket_index_max_shards: 16
2017-08-18 01:25:20 +08:00
2017-04-20 00:30:40 +08:00
# Consider setting a quota on buckets so that exceeding this
# limit will require admin intervention.
#rgw_bucket_default_quota_max_objects: 1638400 # i.e., 100K * 16
2017-08-18 01:25:20 +08:00
# This dictionary will create pools with the given number of pgs.
2017-04-20 00:30:40 +08:00
# This is important because they would be created with the default
2017-08-18 01:25:20 +08:00
# of 8.
2017-04-20 00:30:40 +08:00
# New pools and their corresponding pg_nums can be created
2018-05-31 23:01:44 +08:00
# by adding to the rgw_create_pools dictionary (see foo).
#rgw_create_pools:
2017-04-20 00:30:40 +08:00
# defaults.rgw.buckets.data:
# pg_num: 16
2018-10-26 15:46:29 +08:00
# size: ""
2017-04-20 00:30:40 +08:00
# defaults.rgw.buckets.index:
# pg_num: 32
2018-10-26 15:46:29 +08:00
# size: ""
2017-04-20 00:30:40 +08:00
# foo:
# pg_num: 4
2018-10-26 15:46:29 +08:00
# size: ""
2017-04-20 00:30:40 +08:00
2017-08-18 01:25:20 +08:00
2017-09-19 06:33:23 +08:00
#############
# MULTISITE #
#############
#rgw_multisite: false
# The following Multi-site related variables should be set by the user.
# rgw_zone is set to "default" to enable compression for clusters configured without rgw multi-site
# If multisite is configured rgw_zone should not be set to "default". See README-MULTISITE.md for an example.
#rgw_zone: default
#rgw_zonemaster: true
#rgw_zonesecondary: false
2018-10-26 17:14:12 +08:00
#rgw_multisite_endpoint_addr: "{{ ansible_fqdn }}"
2018-10-26 22:39:56 +08:00
#rgw_zonegroup: solarsystem # should be set by the user
2017-09-19 06:33:23 +08:00
#rgw_zone_user: zone.user
2018-10-26 22:39:56 +08:00
#rgw_realm: milkyway # should be set by the user
#system_access_key: 6kWkikvapSnHyE22P7nO # should be re-created by the user
#system_secret_key: MGecsMrWtKZgngOHZdrd6d3JxGO5CPWgT2lcnpSt # should be re-created by the user
2017-09-19 06:33:23 +08:00
# Multi-site remote pull URL variables
#rgw_pull_port: "{{ radosgw_civetweb_port }}"
#rgw_pull_proto: "http"
2018-10-26 22:39:56 +08:00
#rgw_pullhost: localhost # rgw_pullhost only needs to be declared if there is a zone secondary. It should be the same as rgw_multisite_endpoint_addr for the master cluster
2017-09-19 06:33:23 +08:00
2016-02-29 23:35:07 +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_rgw_docker_extra_env' variable.
2018-10-29 18:46:46 +08:00
#ceph_rgw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
2017-09-06 16:53:30 +08:00
#ceph_rgw_docker_cpu_limit: 1
2017-08-18 01:25:20 +08:00
#ceph_rgw_docker_extra_env:
2016-11-03 17:16:33 +08:00
#ceph_config_keys: [] # DON'T TOUCH ME
2016-12-07 00:28:30 +08:00
#rgw_config_keys: "/" # DON'T TOUCH ME
2016-02-29 23:35:07 +08:00
2017-07-05 21:47:48 +08:00
###########
# SYSTEMD #
###########
# ceph_rgw_systemd_overrides will override the systemd settings
# for the ceph-rgw services.
# For example,to set "PrivateDevices=false" you can specify:
#ceph_rgw_systemd_overrides:
# Service:
# PrivateDevices: False