2016-08-26 21:22:47 +08:00
---
2017-08-05 02:18:11 +08:00
# You can override vars by using host or group vars
2018-03-23 11:24:56 +08:00
###########
# GENERAL #
###########
2019-05-12 15:38:46 +08:00
# Whether or not to generate secure certificate to iSCSI gateway nodes
generate_crt : False
2019-07-09 02:36:07 +08:00
iscsi_conf_overrides : {}
iscsi_pool_name : rbd
iscsi_pool_size : "{{ osd_pool_default_size }}"
2019-05-12 15:38:46 +08:00
2019-09-23 19:30:05 +08:00
copy_admin_key : True
2019-05-12 15:38:46 +08:00
##################
# RBD-TARGET-API #
##################
# Optional settings related to the CLI/API service
api_user : admin
api_password : admin
api_port : 5000
api_secure : false
loop_delay : 1
2021-08-18 19:23:44 +08:00
# set the variable below with a comma separated list of IPs
# in order to restrict the access to the iSCSI API
# trusted_ip_list: 192.168.122.1
2019-05-12 15:38:46 +08:00
##########
# 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_mds_docker_extra_env' variable.
# TCMU_RUNNER resource limitation
2021-03-03 22:43:50 +08:00
ceph_tcmu_runner_docker_memory_limit : "{{ ansible_facts['memtotal_mb'] }}m"
2019-05-12 15:38:46 +08:00
ceph_tcmu_runner_docker_cpu_limit : 1
# RBD_TARGET_GW resource limitation
2021-03-03 22:43:50 +08:00
ceph_rbd_target_gw_docker_memory_limit : "{{ ansible_facts['memtotal_mb'] }}m"
2019-05-12 15:38:46 +08:00
ceph_rbd_target_gw_docker_cpu_limit : 1
# RBD_TARGET_API resource limitation
2021-03-03 22:43:50 +08:00
ceph_rbd_target_api_docker_memory_limit : "{{ ansible_facts['memtotal_mb'] }}m"
2019-05-12 15:38:46 +08:00
ceph_rbd_target_api_docker_cpu_limit : 1