2014-07-08 20:49:46 +08:00
|
|
|
---
|
2014-09-05 03:14:11 +08:00
|
|
|
# You can override vars by using host or group vars
|
|
|
|
|
2015-01-21 01:43:47 +08:00
|
|
|
###########
|
|
|
|
# GENERAL #
|
|
|
|
###########
|
|
|
|
|
2015-06-11 08:42:41 +08:00
|
|
|
rgw_group_name: rgws
|
|
|
|
|
2015-01-06 07:42:54 +08:00
|
|
|
# ACTIVATE BOTH FSID AND MONITOR_SECRET VARIABLES FOR NON-VAGRANT DEPLOYMENT
|
|
|
|
fsid: "{{ cluster_uuid.stdout }}"
|
2015-07-17 20:06:25 +08:00
|
|
|
monitor_secret: "{{ monitor_keyring.stdout }}"
|
2014-09-05 03:14:11 +08:00
|
|
|
cephx: true
|
|
|
|
|
2015-03-12 11:50:38 +08:00
|
|
|
# CephFS
|
|
|
|
pool_default_pg_num: 128
|
|
|
|
cephfs_data: cephfs_data
|
|
|
|
cephfs_metadata: cephfs_metadata
|
|
|
|
cephfs: cephfs
|
2015-01-21 01:43:47 +08:00
|
|
|
|
2015-05-12 17:18:12 +08:00
|
|
|
# Secure your cluster
|
|
|
|
# This will set the following flags on all the pools:
|
|
|
|
# * nosizechange
|
|
|
|
# * nopgchange
|
|
|
|
# * nodelete
|
|
|
|
|
|
|
|
secure_cluster: false
|
|
|
|
secure_cluster_flags:
|
|
|
|
- nopgchange
|
|
|
|
- nodelete
|
|
|
|
- nosizechange
|
|
|
|
|
2015-03-23 22:08:58 +08:00
|
|
|
|
2015-01-21 01:43:47 +08:00
|
|
|
#############
|
|
|
|
# OPENSTACK #
|
|
|
|
#############
|
2015-01-30 20:34:35 +08:00
|
|
|
|
|
|
|
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 }}'" }
|
2015-01-21 01:43:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
# DOCKER #
|
|
|
|
##########
|
|
|
|
|
|
|
|
ceph_containerized_deployment: false
|
|
|
|
ceph_mon_docker_interface: eth0
|
2015-06-24 21:51:54 +08:00
|
|
|
#ceph_mon_docker_subnet: # subnet of the ceph_mon_docker_interface
|
2015-01-21 01:43:47 +08:00
|
|
|
ceph_mon_docker_username: ceph
|
2015-06-24 21:51:54 +08:00
|
|
|
ceph_mon_docker_imagename: daemon
|
2015-07-28 21:32:58 +08:00
|
|
|
ceph_mon_extra_envs: "MON_NAME={{ ansible_hostname }}" # comma separated variables
|