Added a lineinfile to make redis bind to all interfaces on Ubuntu mac…
@@ -9,3 +9,12 @@
name: "{{ redis_pkg_name }}"
state: "{{ redis_pkg_state }}"
update_cache: true
+
+ - name: Ensure redis binds to accessible IP
+ lineinfile:
+ dest: /etc/redis/redis.conf
+ regexp: '^bind'
+ line: 'bind 0.0.0.0'
+ notify: restart redis service
+ - meta: flush_handlers