stop binding redis to 127.0.0.1
authorSam <sam.saffron@gmail.com>
Thu, 26 May 2016 03:21:15 +0000 (13:21 +1000)
committerSam <sam.saffron@gmail.com>
Thu, 26 May 2016 03:21:15 +0000 (13:21 +1000)
templates/redis.template.yml

index 249018a45c8a8a117bdf17e81efe19b10d37dfe0..6ac852ce534796ed4c839587d809d42b7023e039 100644 (file)
@@ -32,6 +32,11 @@ run:
       from: /^logfile.*$/
       to: "logfile \"\""
 
+  - replace:
+      filename: "/etc/redis/redis.conf"
+      from: /^bind .*$/
+      to: ""
+
   - replace:
       filename: "/etc/redis/redis.conf"
       from: /^dir .*$/