
We do not install ceph-mgr for CentOS7 as it's not supported upstream. Depends-On: https://review.opendev.org/729329 Change-Id: I5efdae4de2b52fe7048c77066a6e17ce0b3b0031
68 lines
2.5 KiB
YAML
68 lines
2.5 KiB
YAML
---
|
|
# Copyright 2017, Ravi Kumar Boyapati <rboyapat@gmail.com>
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# ceph default list of bind mounts
|
|
ceph_container_bind_mounts:
|
|
- bind_dir_path: "/var/lib/ceph"
|
|
mount_path: "/openstack/{{ inventory_hostname }}"
|
|
|
|
|
|
ceph_conf_overrides_manila:
|
|
client.manila:
|
|
"client mount gid": 0
|
|
"client mount uid": 0
|
|
# To extend ceph_conf_overrides use the ceph_conf_overrides_custom which will
|
|
# combine any ceph_conf_overrides with other RGW specific overrides.
|
|
ceph_conf_overrides_custom: {}
|
|
ceph_conf_overrides: "{{ (ceph_conf_overrides_rgw | default({})) | combine(ceph_conf_overrides_manila, recursive=True) | combine(ceph_conf_overrides_custom, recursive=True) }}"
|
|
|
|
# Disable the NFS gateway PPA and package install by default as it is not
|
|
# needed.
|
|
nfs_file_gw: "{{ (('ceph-nfs' in groups) and ('ceph-mds' in groups)) }}"
|
|
nfs_obj_gw: False
|
|
nfs_ganesha_stable: "{{ (ansible_distribution_release != 'bionic') }}"
|
|
|
|
# NTP in an OSA environment is handled by ansible-hardening using chrony
|
|
# ceph-ansible's default enabling of ntpd conflicts with the OSA defaults
|
|
ntp_service_enabled: False
|
|
|
|
|
|
openstack_cephfs_data_pool:
|
|
name: "manila_data"
|
|
pg_num: "{{ osd_pool_default_pg_num }}"
|
|
pgp_num: "{{ osd_pool_default_pg_num }}"
|
|
rule_name: "replicated_rule"
|
|
type: 1
|
|
erasure_profile: ""
|
|
expected_num_objects: ""
|
|
application: "cephfs"
|
|
size: "{{ osd_pool_default_size }}"
|
|
min_size: "{{ osd_pool_default_min_size }}"
|
|
openstack_cephfs_metadata_pool:
|
|
name: "manila_metadata"
|
|
pg_num: "{{ osd_pool_default_pg_num }}"
|
|
pgp_num: "{{ osd_pool_default_pg_num }}"
|
|
rule_name: "replicated_rule"
|
|
type: 1
|
|
erasure_profile: ""
|
|
expected_num_objects: ""
|
|
application: "cephfs"
|
|
size: "{{ osd_pool_default_size }}"
|
|
min_size: "{{ osd_pool_default_min_size }}"
|
|
|
|
cephfs_data_pool: "{{ openstack_cephfs_data_pool }}"
|
|
cephfs_metadata_pool: "{{ openstack_cephfs_metadata_pool }}"
|
|
dashboard_enabled: "{{ not (ansible_os_family | lower == 'redhat' and ansible_distribution_major_version is version('7', '=')) }}"
|