mirror of https://github.com/ceph/ceph-ansible.git
rgw: move multisite default variables in ceph-defaults
Move all rgw multisite variables in ceph-defaults so ceph-validate can go through them. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/3305/head v3.2.0rc1
parent
f52344300a
commit
d5409109fb
|
@ -473,6 +473,33 @@ dummy:
|
||||||
# Set this to true to enable Object access via NFS. Requires an RGW role.
|
# Set this to true to enable Object access via NFS. Requires an RGW role.
|
||||||
#nfs_obj_gw: true
|
#nfs_obj_gw: true
|
||||||
|
|
||||||
|
|
||||||
|
#############
|
||||||
|
# MULTISITE #
|
||||||
|
#############
|
||||||
|
|
||||||
|
#rgw_multisite: false
|
||||||
|
|
||||||
|
# The following Multi-site related variables should be set by the user.
|
||||||
|
# rgw_zone is set to "default" to enable compression for clusters configured without rgw multi-site
|
||||||
|
# If multisite is configured rgw_zone should not be set to "default". See README-MULTISITE.md for an example.
|
||||||
|
#rgw_zone: default
|
||||||
|
|
||||||
|
#rgw_zonemaster: true
|
||||||
|
#rgw_zonesecondary: false
|
||||||
|
#rgw_multisite_endpoint_addr: "{{ ansible_fqdn }}"
|
||||||
|
#rgw_zonegroup: solarsystem # should be set by the user
|
||||||
|
#rgw_zone_user: zone.user
|
||||||
|
#rgw_realm: milkyway # should be set by the user
|
||||||
|
#system_access_key: 6kWkikvapSnHyE22P7nO # should be re-created by the user
|
||||||
|
#system_secret_key: MGecsMrWtKZgngOHZdrd6d3JxGO5CPWgT2lcnpSt # should be re-created by the user
|
||||||
|
|
||||||
|
# Multi-site remote pull URL variables
|
||||||
|
#rgw_pull_port: "{{ radosgw_civetweb_port }}"
|
||||||
|
#rgw_pull_proto: "http"
|
||||||
|
#rgw_pullhost: localhost # rgw_pullhost only needs to be declared if there is a zone secondary. It should be the same as rgw_multisite_endpoint_addr for the master cluster
|
||||||
|
|
||||||
|
|
||||||
###################
|
###################
|
||||||
# CONFIG OVERRIDE #
|
# CONFIG OVERRIDE #
|
||||||
###################
|
###################
|
||||||
|
|
|
@ -49,31 +49,6 @@ dummy:
|
||||||
# size: ""
|
# size: ""
|
||||||
|
|
||||||
|
|
||||||
#############
|
|
||||||
# MULTISITE #
|
|
||||||
#############
|
|
||||||
|
|
||||||
#rgw_multisite: false
|
|
||||||
|
|
||||||
# The following Multi-site related variables should be set by the user.
|
|
||||||
# rgw_zone is set to "default" to enable compression for clusters configured without rgw multi-site
|
|
||||||
# If multisite is configured rgw_zone should not be set to "default". See README-MULTISITE.md for an example.
|
|
||||||
#rgw_zone: default
|
|
||||||
|
|
||||||
#rgw_zonemaster: true
|
|
||||||
#rgw_zonesecondary: false
|
|
||||||
#rgw_multisite_endpoint_addr: "{{ ansible_fqdn }}"
|
|
||||||
#rgw_zonegroup: solarsystem # should be set by the user
|
|
||||||
#rgw_zone_user: zone.user
|
|
||||||
#rgw_realm: milkyway # should be set by the user
|
|
||||||
#system_access_key: 6kWkikvapSnHyE22P7nO # should be re-created by the user
|
|
||||||
#system_secret_key: MGecsMrWtKZgngOHZdrd6d3JxGO5CPWgT2lcnpSt # should be re-created by the user
|
|
||||||
|
|
||||||
# Multi-site remote pull URL variables
|
|
||||||
#rgw_pull_port: "{{ radosgw_civetweb_port }}"
|
|
||||||
#rgw_pull_proto: "http"
|
|
||||||
#rgw_pullhost: localhost # rgw_pullhost only needs to be declared if there is a zone secondary. It should be the same as rgw_multisite_endpoint_addr for the master cluster
|
|
||||||
|
|
||||||
##########
|
##########
|
||||||
# DOCKER #
|
# DOCKER #
|
||||||
##########
|
##########
|
||||||
|
|
|
@ -473,6 +473,33 @@ ceph_rhcs_version: 3
|
||||||
# Set this to true to enable Object access via NFS. Requires an RGW role.
|
# Set this to true to enable Object access via NFS. Requires an RGW role.
|
||||||
#nfs_obj_gw: true
|
#nfs_obj_gw: true
|
||||||
|
|
||||||
|
|
||||||
|
#############
|
||||||
|
# MULTISITE #
|
||||||
|
#############
|
||||||
|
|
||||||
|
#rgw_multisite: false
|
||||||
|
|
||||||
|
# The following Multi-site related variables should be set by the user.
|
||||||
|
# rgw_zone is set to "default" to enable compression for clusters configured without rgw multi-site
|
||||||
|
# If multisite is configured rgw_zone should not be set to "default". See README-MULTISITE.md for an example.
|
||||||
|
#rgw_zone: default
|
||||||
|
|
||||||
|
#rgw_zonemaster: true
|
||||||
|
#rgw_zonesecondary: false
|
||||||
|
#rgw_multisite_endpoint_addr: "{{ ansible_fqdn }}"
|
||||||
|
#rgw_zonegroup: solarsystem # should be set by the user
|
||||||
|
#rgw_zone_user: zone.user
|
||||||
|
#rgw_realm: milkyway # should be set by the user
|
||||||
|
#system_access_key: 6kWkikvapSnHyE22P7nO # should be re-created by the user
|
||||||
|
#system_secret_key: MGecsMrWtKZgngOHZdrd6d3JxGO5CPWgT2lcnpSt # should be re-created by the user
|
||||||
|
|
||||||
|
# Multi-site remote pull URL variables
|
||||||
|
#rgw_pull_port: "{{ radosgw_civetweb_port }}"
|
||||||
|
#rgw_pull_proto: "http"
|
||||||
|
#rgw_pullhost: localhost # rgw_pullhost only needs to be declared if there is a zone secondary. It should be the same as rgw_multisite_endpoint_addr for the master cluster
|
||||||
|
|
||||||
|
|
||||||
###################
|
###################
|
||||||
# CONFIG OVERRIDE #
|
# CONFIG OVERRIDE #
|
||||||
###################
|
###################
|
||||||
|
|
|
@ -465,6 +465,33 @@ nfs_file_gw: false
|
||||||
# Set this to true to enable Object access via NFS. Requires an RGW role.
|
# Set this to true to enable Object access via NFS. Requires an RGW role.
|
||||||
nfs_obj_gw: true
|
nfs_obj_gw: true
|
||||||
|
|
||||||
|
|
||||||
|
#############
|
||||||
|
# MULTISITE #
|
||||||
|
#############
|
||||||
|
|
||||||
|
rgw_multisite: false
|
||||||
|
|
||||||
|
# The following Multi-site related variables should be set by the user.
|
||||||
|
# rgw_zone is set to "default" to enable compression for clusters configured without rgw multi-site
|
||||||
|
# If multisite is configured rgw_zone should not be set to "default". See README-MULTISITE.md for an example.
|
||||||
|
rgw_zone: default
|
||||||
|
|
||||||
|
rgw_zonemaster: true
|
||||||
|
rgw_zonesecondary: false
|
||||||
|
rgw_multisite_endpoint_addr: "{{ ansible_fqdn }}"
|
||||||
|
#rgw_zonegroup: solarsystem # should be set by the user
|
||||||
|
#rgw_zone_user: zone.user
|
||||||
|
#rgw_realm: milkyway # should be set by the user
|
||||||
|
#system_access_key: 6kWkikvapSnHyE22P7nO # should be re-created by the user
|
||||||
|
#system_secret_key: MGecsMrWtKZgngOHZdrd6d3JxGO5CPWgT2lcnpSt # should be re-created by the user
|
||||||
|
|
||||||
|
# Multi-site remote pull URL variables
|
||||||
|
rgw_pull_port: "{{ radosgw_civetweb_port }}"
|
||||||
|
rgw_pull_proto: "http"
|
||||||
|
#rgw_pullhost: localhost # rgw_pullhost only needs to be declared if there is a zone secondary. It should be the same as rgw_multisite_endpoint_addr for the master cluster
|
||||||
|
|
||||||
|
|
||||||
###################
|
###################
|
||||||
# CONFIG OVERRIDE #
|
# CONFIG OVERRIDE #
|
||||||
###################
|
###################
|
||||||
|
|
|
@ -41,31 +41,6 @@ copy_admin_key: false
|
||||||
# size: ""
|
# size: ""
|
||||||
|
|
||||||
|
|
||||||
#############
|
|
||||||
# MULTISITE #
|
|
||||||
#############
|
|
||||||
|
|
||||||
rgw_multisite: false
|
|
||||||
|
|
||||||
# The following Multi-site related variables should be set by the user.
|
|
||||||
# rgw_zone is set to "default" to enable compression for clusters configured without rgw multi-site
|
|
||||||
# If multisite is configured rgw_zone should not be set to "default". See README-MULTISITE.md for an example.
|
|
||||||
rgw_zone: default
|
|
||||||
|
|
||||||
rgw_zonemaster: true
|
|
||||||
rgw_zonesecondary: false
|
|
||||||
rgw_multisite_endpoint_addr: "{{ ansible_fqdn }}"
|
|
||||||
#rgw_zonegroup: solarsystem # should be set by the user
|
|
||||||
#rgw_zone_user: zone.user
|
|
||||||
#rgw_realm: milkyway # should be set by the user
|
|
||||||
#system_access_key: 6kWkikvapSnHyE22P7nO # should be re-created by the user
|
|
||||||
#system_secret_key: MGecsMrWtKZgngOHZdrd6d3JxGO5CPWgT2lcnpSt # should be re-created by the user
|
|
||||||
|
|
||||||
# Multi-site remote pull URL variables
|
|
||||||
rgw_pull_port: "{{ radosgw_civetweb_port }}"
|
|
||||||
rgw_pull_proto: "http"
|
|
||||||
#rgw_pullhost: localhost # rgw_pullhost only needs to be declared if there is a zone secondary. It should be the same as rgw_multisite_endpoint_addr for the master cluster
|
|
||||||
|
|
||||||
##########
|
##########
|
||||||
# DOCKER #
|
# DOCKER #
|
||||||
##########
|
##########
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
- name: include check_rgw_multisite.yml
|
- name: include check_rgw_multisite.yml
|
||||||
include_tasks: check_rgw_multisite.yml
|
include_tasks: check_rgw_multisite.yml
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups.get(rgw_group_name, [])
|
- inventory_hostname in groups.get(rgw_group_name, [])
|
||||||
- rgw_multisite
|
- rgw_multisite
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue