]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
RGW: Add static website hosting configuration
authorLogan V <logan2211@gmail.com>
Mon, 16 Jan 2017 14:27:44 +0000 (08:27 -0600)
committerLogan V <logan2211@gmail.com>
Thu, 19 Jan 2017 17:15:18 +0000 (11:15 -0600)
defaults/main.yml
templates/ceph.conf.j2

index bc06d1793aa21c933f3ba21f1fa957abbbee238f..b2a283186e81a2e2a920d053bfb41ac75b3e6114 100644 (file)
@@ -311,6 +311,9 @@ radosgw_usage_log_tick_interval: 30
 radosgw_usage_log_flush_threshold: 1024
 radosgw_usage_max_shards: 32
 radosgw_usage_max_user_shards: 1
+# Settings for static website hosting
+radosgw_static_website: false
+radosgw_dns_s3website_name: your.subdomain.tld # subdomain used by radosgw for website bucket hosting.
 # Rados Gateway options
 email_address: foo@bar.com
 
index b27d78fc9673b615e2c7ce9a938bb45b6704cbde..e577351bff7ace9db4a503d86eb2a5555cbb8750 100644 (file)
@@ -138,6 +138,10 @@ rgw usage log flush threshold = {{ radosgw_usage_log_flush_threshold }}
 rgw usage max shards = {{ radosgw_usage_max_shards }}
 rgw usage max user shards = {{ radosgw_usage_max_user_shards }}
 {% endif %}
+{% if radosgw_static_website | bool %}
+rgw enable static website = {{ radosgw_static_website }}
+rgw dns s3website name = {{ radosgw_dns_s3website_name }}
+{% endif %}
 {% endif %}
 {% endfor %}
 {% endif %}