+# Copyright (c) 2018 Huawei Technologies Co., Ltd. All Rights Reserved.\r
+#\r
+# Licensed under the Apache License, Version 2.0 (the "License");\r
+# you may not use this file except in compliance with the License.\r
+# You may obtain a copy of the License at\r
+#\r
+# http://www.apache.org/licenses/LICENSE-2.0\r
+#\r
+# Unless required by applicable law or agreed to in writing, software\r
+# distributed under the License is distributed on an "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+# See the License for the specific language governing permissions and\r
+# limitations under the License.\r
+\r
---\r
# Variables here are applicable to all host groups NOT roles\r
\r
\r
# You can override vars by using host or group vars\r
\r
+ceph_origin: repository\r
+ceph_repository: community\r
+ceph_stable_release: luminous\r
+public_network: "192.168.3.0/24"\r
+cluster_network: "{{ public_network }}"\r
+monitor_interface: eth1\r
+devices:\r
+ - '/dev/sda'\r
+ #- '/dev/sdb'\r
+osd_scenario: collocated\r
+\r
###########\r
# GENERAL #\r
###########\r
# - repository\r
# - distro\r
# - local\r
-ceph_origin: repository\r
-ceph_repository: community\r
+\r
\r
#ceph_repository: "{{ 'community' if ceph_stable else 'rhcs' if ceph_rhcs else 'dev' if ceph_dev else 'uca' if ceph_stable_uca else 'custom' if ceph_custom else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1\r
#valid_ceph_repository:\r
#\r
#ceph_mirror: http://download.ceph.com\r
#ceph_stable_key: https://download.ceph.com/keys/release.asc\r
-ceph_stable_release: luminous\r
+#ceph_stable_release: dummy\r
#ceph_stable_repo: "{{ ceph_mirror }}/debian-{{ ceph_stable_release }}"\r
\r
#nfs_ganesha_stable: true # use stable repos for nfs-ganesha\r
# These variables must be defined at least in all.yml and overrided if needed (inventory host file or group_vars/*.yml).\r
# Eg. If you want to specify for each monitor which address the monitor will bind to you can set it in your **inventory host file** by using 'monitor_address' variable.\r
# Preference will go to monitor_address if both monitor_address and monitor_interface are defined.\r
-# To use an IPv6 address, use the monitor_address setting instead (and set ip_version to ipv6)\r
-monitor_interface: ens3\r
+#monitor_interface: "{{ ceph_mon_docker_interface if ceph_mon_docker_interface != 'interface' else 'interface' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1\r
#monitor_address: 0.0.0.0\r
#monitor_address_block: subnet\r
# set to either ipv4 or ipv6, whichever your network is using\r
\r
## OSD options\r
#\r
-journal_size: 100 # OSD journal size in MB\r
-public_network: 100.64.128.40/24\r
-cluster_network: "{{ public_network }}"\r
+#journal_size: 5120 # OSD journal size in MB\r
+#public_network: "{{ ceph_mon_docker_subnet if ceph_mon_docker_subnet != '0.0.0.0/0' else '0.0.0.0/0' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1\r
+#cluster_network: "{{ public_network | regex_replace(' ', '') }}"\r
#osd_mkfs_type: xfs\r
#osd_mkfs_options_xfs: -f -i size=2048\r
#osd_mount_options_xfs: noatime,largeio,inode64,swalloc\r
# These variables must be defined at least in all.yml and overrided if needed (inventory host file or group_vars/*.yml).\r
# Eg. If you want to specify for each radosgw node which address the radosgw will bind to you can set it in your **inventory host file** by using 'radosgw_address' variable.\r
# Preference will go to radosgw_address if both radosgw_address and radosgw_interface are defined.\r
-# To use an IPv6 address, use the radosgw_address setting instead (and set ip_version to ipv6)\r
#radosgw_interface: interface\r
#radosgw_address: "{{ '0.0.0.0' if rgw_containerized_deployment else 'address' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1\r
#radosgw_address_block: subnet\r
-#radosgw_keystone: false # activate OpenStack Keystone options full detail here: http://ceph.com/docs/master/radosgw/keystone/\r
+#radosgw_keystone_ssl: false # activate this when using keystone PKI keys\r
# Rados Gateway options\r
#email_address: foo@bar.com\r
\r
#ceph_docker_registry: docker.io\r
#ceph_docker_enable_centos_extra_repo: false\r
#ceph_docker_on_openstack: false\r
-#ceph_mon_docker_interface: "{{ monitor_interface }}" # backward compatibility with stable-2.2, will disappear in stable 3.1\r
-#ceph_mon_docker_subnet: "{{ public_network }}" # backward compatibility with stable-2.2, will disappear in stable 3.1\r
+#ceph_mon_docker_interface: "interface" # backward compatibility with stable-2.2, will disappear in stable 3.1\r
+#ceph_mon_docker_subnet: "0.0.0.0/0" # backward compatibility with stable-2.2, will disappear in stable 3.1\r
#mon_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1\r
#osd_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1\r
#mds_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1\r
#rolling_update: false\r
\r
\r
+#####################\r
+# Docker pull retry #\r
+#####################\r
+#docker_pull_retry: 3\r
+#docker_pull_timeout: "300s"\r