diff --git a/roles/haproxy/defaults/main.yml b/roles/haproxy/defaults/main.yml
index 35a1da1dfdd74d9aad0b66c39dc70647cc2213b1..8057e778a2357f77e860c751d647a43c4cc51f46 100644
--- a/roles/haproxy/defaults/main.yml
+++ b/roles/haproxy/defaults/main.yml
@@ -2,41 +2,43 @@
 
 hap_packages:
   - haproxy
+  - rsyslog
+  - logrotate
 
 hap_config: /etc/haproxy/haproxy.cfg
 
 hap_config_global: |2
-  log /dev/log    local0 warning
-  log /dev/log    local1 warning
-  chroot /var/lib/haproxy
-  stats socket /run/haproxy/admin.sock mode 664 level admin
-  stats timeout 30s
-  user haproxy
-  group haproxy
-  daemon
+    log /dev/log    local0 warning
+    log /dev/log    local1 warning
+    chroot /var/lib/haproxy
+    stats socket /run/haproxy/admin.sock mode 664 level admin
+    stats timeout 30s
+    user haproxy
+    group haproxy
+    daemon
 
 hap_config_defaults: |2
-  log global
-  mode tcp
-  balance leastconn
-  retries 2
-  timeout tunnel 30m
-  timeout client 30m
-  timeout connect 5s
-  timeout server 30m
-  timeout check 15s
-  option tcplog
-  option tcpka
-  option clitcpka
-  option srvtcpka
+    log global
+    mode tcp
+    balance leastconn
+    retries 2
+    timeout tunnel 30m
+    timeout client 30m
+    timeout connect 5s
+    timeout server 30m
+    timeout check 15s
+    option tcplog
+    option tcpka
+    option clitcpka
+    option srvtcpka
 
 hap_stats_enabled: false
 hap_config_stats: |2
-  bind :9000
-  mode http
-  stats enable
-  stats uri /
-  stats auth admin:password
+    bind :9000
+    mode http
+    stats enable
+    stats uri /
+    stats auth admin:password
 
 hap_config_listen:
   - name: pgsql-primary