]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rgw: move multisite default variables in ceph-defaults
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 30 Oct 2018 14:01:46 +0000 (15:01 +0100)
committerSébastien Han <seb@redhat.com>
Tue, 30 Oct 2018 16:41:05 +0000 (17:41 +0100)
Move all rgw multisite variables in ceph-defaults so ceph-validate can
go through them.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
group_vars/all.yml.sample
group_vars/rgws.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml
roles/ceph-rgw/defaults/main.yml
roles/ceph-validate/tasks/main.yml

index 0ba532ccf3d42009ea7b51b51dc6534ab576a0ac..48f12423bf777aac049acb8071208ebab58a2b47 100644 (file)
@@ -466,6 +466,33 @@ dummy:
 # Set this to true to enable Object access via NFS. Requires an RGW role.
 #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 #
 ###################
index 3ab282bb993957048b0e3e53abaa2b539fad8b64..78e69513fb44d6f69d00b07d0015560587397977 100644 (file)
@@ -49,31 +49,6 @@ dummy:
 #    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 #
 ##########
index 99f2c843bb70c2d93290c750f6a15c76842cffc9..14f85f26dbc4f8c6aaba2c16031ef3c270ef32de 100644 (file)
@@ -466,6 +466,33 @@ ceph_rhcs_version: 3
 # Set this to true to enable Object access via NFS. Requires an RGW role.
 #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 #
 ###################
index 257743cde91823c45f83f7142c4ce738b84537bd..fe365e59c36641dbc6efd128e3fda9166278ed18 100644 (file)
@@ -458,6 +458,33 @@ nfs_file_gw: false
 # Set this to true to enable Object access via NFS. Requires an RGW role.
 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 #
 ###################
index f3f099b8d57dee4deade2bcdb80a200bd460df8a..6ab3946a512fd4c2feb61ec19aaf7631606d8761 100644 (file)
@@ -41,31 +41,6 @@ copy_admin_key: false
 #    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 #
 ##########
index 1847870ed787c978d8b30449c7d27eeaf7e4507f..6efab8170e84c9974d46d28cb81be30424a04ac2 100644 (file)
@@ -71,7 +71,7 @@
 
 - name: include check_rgw_multisite.yml
   include_tasks: check_rgw_multisite.yml
-  when: 
+  when:
     - inventory_hostname in groups.get(rgw_group_name, [])
     - rgw_multisite