]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
re-tab/indent configuration 47/head
authorJimmy Tang <jcftang@gmail.com>
Mon, 17 Mar 2014 10:27:49 +0000 (10:27 +0000)
committerJimmy Tang <jcftang@gmail.com>
Mon, 17 Mar 2014 10:27:49 +0000 (10:27 +0000)
roles/haproxy/templates/precise/haproxy.cfg

index 55f2e4812840a14089c708db79ce592033232290..b3e10bcba230c0b3112e8f676be7bd6f697e047f 100644 (file)
@@ -2,57 +2,57 @@
 # {{ ansible_managed }}
 #
 global
-       log /dev/log    local0
-       log /dev/log    local1 notice
-       chroot /var/lib/haproxy
-       user haproxy
-       group haproxy
-  daemon
-  stats socket /var/lib/haproxy/stats level admin
+    log /dev/log       local0
+    log /dev/log       local1 notice
+    chroot /var/lib/haproxy
+    user haproxy
+    group haproxy
+    daemon
+    stats socket /var/lib/haproxy/stats level admin
 
 defaults
-       log     global
-  mode http
-  option       httplog
-  option       dontlognull
-  contimeout 5000
-  clitimeout 50000
-  srvtimeout 50000
-       errorfile 400 /etc/haproxy/errors/400.http
-       errorfile 403 /etc/haproxy/errors/403.http
-       errorfile 408 /etc/haproxy/errors/408.http
-       errorfile 500 /etc/haproxy/errors/500.http
-       errorfile 502 /etc/haproxy/errors/502.http
-       errorfile 503 /etc/haproxy/errors/503.http
-       errorfile 504 /etc/haproxy/errors/504.http
+    log        global
+    mode       http
+    option     httplog
+    option     dontlognull
+    contimeout 5000
+    clitimeout 50000
+    srvtimeout 50000
+    errorfile 400 /etc/haproxy/errors/400.http
+    errorfile 403 /etc/haproxy/errors/403.http
+    errorfile 408 /etc/haproxy/errors/408.http
+    errorfile 500 /etc/haproxy/errors/500.http
+    errorfile 502 /etc/haproxy/errors/502.http
+    errorfile 503 /etc/haproxy/errors/503.http
+    errorfile 504 /etc/haproxy/errors/504.http
 
 frontend http_frontend
-       bind *:80
-       mode http
-       option httpclose
-       option forwardfor
-       default_backend rgw
+    bind *:80
+    mode http
+    option httpclose
+    option forwardfor
+    default_backend rgw
 
 frontend https_frontend
-       bind *:443 ssl crt /etc/ceph/radosgw-key-cert.pem
-       mode http
-       option httpclose
-       option forwardfor
-       reqadd X-Forwarded-Proto:\ https
-       default_backend rgw
+    bind *:443 ssl crt /etc/ceph/radosgw-key-cert.pem
+    mode http
+    option httpclose
+    option forwardfor
+    reqadd X-Forwarded-Proto:\ https
+    default_backend rgw
 
 backend rgw
-       mode http
-       balance roundrobin
-       cookie RADOSGWLB insert indirect nocache
+    mode http
+    balance roundrobin
+    cookie RADOSGWLB insert indirect nocache
 {% for host in groups['rgws'] %}
-       server {{ hostvars[host].ansible_hostname }} {{ hostvars[host]['ansible_' + radosgw_interface ].ipv4.address }}:80 check cookie {{ hostvars[host].ansible_hostname }}
+    server {{ hostvars[host].ansible_hostname }} {{ hostvars[host]['ansible_' + radosgw_interface ].ipv4.address }}:80 check cookie {{ hostvars[host].ansible_hostname }}
 {% endfor %}
 
 listen stats :8080
-  mode http
-  stats enable
-  stats hide-version
-  stats realm Haproxy\ Statistics
-  stats uri /
-  #stats auth Username:Password
+    mode http
+    stats enable
+    stats hide-version
+    stats realm Haproxy\ Statistics
+    stats uri /
+    #stats auth Username:Password