mirror of https://github.com/ceph/ceph-ansible.git
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
---
|
|
# You can override vars by using host or group vars
|
|
|
|
###########
|
|
# GENERAL #
|
|
###########
|
|
|
|
# Even though MDS nodes should not have the admin key
|
|
# at their disposal, some people might want to have it
|
|
# distributed on MDS nodes. Setting 'copy_admin_key' to 'true'
|
|
# will copy the admin key to the /etc/ceph/ directory
|
|
copy_admin_key: false
|
|
|
|
##########
|
|
# 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.
|
|
ceph_mds_docker_memory_limit: "{{ ansible_facts['memtotal_mb'] }}m"
|
|
ceph_mds_docker_cpu_limit: 4
|
|
|
|
ceph_config_keys: [] # DON'T TOUCH ME
|
|
# If you want to add parameters, you should retain the existing ones and include the new ones.
|
|
ceph_mds_container_params:
|
|
volumes:
|
|
- /var/lib/ceph/bootstrap-mds:/var/lib/ceph/bootstrap-mds:z
|
|
- /var/lib/ceph/mds/{{ cluster }}-{{ ansible_facts['hostname'] }}:/var/lib/ceph/mds/{{ cluster }}-{{ ansible_facts['hostname'] }}:z
|
|
args:
|
|
- -f
|
|
- -i={{ ansible_facts['hostname'] }}
|
|
|
|
|
|
###########
|
|
# SYSTEMD #
|
|
###########
|
|
# ceph_mds_systemd_overrides will override the systemd settings
|
|
# for the ceph-mds services.
|
|
# For example,to set "PrivateDevices=false" you can specify:
|
|
# ceph_mds_systemd_overrides:
|
|
# Service:
|
|
# PrivateDevices: false
|