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 #
|
|
|
|
###########
|
|
|
|
|
|
|
|
#fetch_directory: fetch/
|
|
|
|
|
|
|
|
#mon_group_name: mons
|
|
|
|
|
|
|
|
# ACTIVATE BOTH FSID AND MONITOR_SECRET VARIABLES FOR NON-VAGRANT DEPLOYMENT
|
|
|
|
#fsid: "{{ cluster_uuid.stdout }}"
|
|
|
|
#monitor_secret: "{{ monitor_keyring.stdout }}"
|
|
|
|
#cephx: true
|
|
|
|
|
|
|
|
# CephFS
|
|
|
|
#pool_default_pg_num: 128
|
|
|
|
#cephfs_data: cephfs_data
|
|
|
|
#cephfs_metadata: cephfs_metadata
|
|
|
|
#cephfs: cephfs
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2016-03-10 04:15:11 +08:00
|
|
|
# Enable the Calamari-backed REST API on a Monitor
|
|
|
|
#calamari: false
|
2016-02-29 23:35:07 +08:00
|
|
|
|
|
|
|
#############
|
|
|
|
# OPENSTACK #
|
|
|
|
#############
|
|
|
|
|
|
|
|
#openstack_config: false
|
|
|
|
#openstack_glance_pool:
|
|
|
|
# name: images
|
|
|
|
# pg_num: "{{ pool_default_pg_num }}"
|
|
|
|
#openstack_cinder_pool:
|
|
|
|
# name: volumes
|
|
|
|
# pg_num: "{{ pool_default_pg_num }}"
|
|
|
|
#openstack_nova_pool:
|
|
|
|
# name: vms
|
|
|
|
# pg_num: "{{ pool_default_pg_num }}"
|
|
|
|
#openstack_cinder_backup_pool:
|
|
|
|
# name: backups
|
|
|
|
# pg_num: "{{ pool_default_pg_num }}"
|
|
|
|
|
2016-09-21 20:21:41 +08:00
|
|
|
#openstack_pools:
|
|
|
|
# - "{{ openstack_glance_pool }}"
|
|
|
|
# - "{{ openstack_cinder_pool }}"
|
|
|
|
# - "{{ openstack_nova_pool }}"
|
|
|
|
# - "{{ openstack_cinder_backup_pool }}"
|
|
|
|
|
2016-02-29 23:35:07 +08:00
|
|
|
#openstack_keys:
|
|
|
|
# - { name: client.glance, value: "mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool={{ openstack_glance_pool.name }}'" }
|
|
|
|
# - { name: client.cinder, value: "mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool={{ openstack_cinder_pool.name }}, allow rwx pool={{ openstack_nova_pool.name }}, allow rx pool={{ openstack_glance_pool.name }}'" }
|
|
|
|
# - { name: client.cinder-backup, value: "mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool={{ openstack_cinder_backup_pool.name }}'" }
|
|
|
|
|
|
|
|
##########
|
|
|
|
# DOCKER #
|
|
|
|
##########
|
|
|
|
|
|
|
|
#mon_containerized_deployment: false
|
2016-01-27 04:01:03 +08:00
|
|
|
#mon_containerized_deployment_with_kv: false
|
2016-08-26 08:37:57 +08:00
|
|
|
# This is currently in ceph-common defaults because it is shared with ceph-nfs
|
2016-01-27 04:01:03 +08:00
|
|
|
#mon_containerized_default_ceph_conf_with_kv: false
|
2016-12-07 00:28:30 +08:00
|
|
|
#ceph_mon_docker_interface: "{{ monitor_interface }}"
|
|
|
|
#ceph_mon_docker_subnet: "{{ public_network }}"# subnet of the ceph_mon_docker_interface
|
2016-02-29 23:35:07 +08:00
|
|
|
#ceph_mon_docker_username: ceph
|
|
|
|
#ceph_mon_docker_imagename: daemon
|
2016-07-09 09:38:13 +08:00
|
|
|
#ceph_mon_docker_image_tag: latest
|
2016-12-16 21:53:14 +08:00
|
|
|
#ceph_mon_docker_extra_env: -e CLUSTER={{ cluster }} -e FSID={{ fsid }} -e MON_NAME={{ ansible_hostname }}
|
2016-01-27 04:01:03 +08:00
|
|
|
#ceph_docker_on_openstack: false
|
2016-03-31 22:39:02 +08:00
|
|
|
#mon_docker_privileged: false
|
|
|
|
#mon_docker_net_host: true
|
2016-11-03 17:16:33 +08:00
|
|
|
#ceph_config_keys: [] # DON'T TOUCH ME
|
2016-02-29 23:35:07 +08:00
|
|
|
|