ceph-ansible/roles/ceph-mon/defaults/main.yml

27 lines
1.0 KiB
YAML

---
# You can override vars by using host or group vars
# ACTIVATE BOTH FSID AND MONITOR_SECRET VARIABLES FOR NON-VAGRANT DEPLOYMENT
fsid: "{{ cluster_uuid.stdout }}"
# monitor_secret:
cephx: true
# Rados Gateway options
# referenced in common role too.
radosgw: false
###########
# OPENSTACK
###########
openstack_config: false
openstack_glance_pool: images
openstack_cinder_pool: volumes
openstack_nova_pool: vms
openstack_cinder_backup_pool: backups
openstack_keys:
- { name: client.glance, value: "mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool={{ openstack_glance_pool }}'" }
- { name: client.cinder, value: "mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool={{ openstack_cinder_pool }}, allow rwx pool={{ openstack_nova_pool }}, allow rx pool={{ openstack_glance_pool }}'" }
- { name: client.cinder-backup, value: "mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool={{ openstack_cinder_backup_pool }}'" }