From ffd91a9fac1e3121c88ebbabc4a2ddf4d3f96c68 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 17 Dec 2017 14:18:23 +0100 Subject: [PATCH] change default bind address --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 9bced0f..4992e69 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,7 +1,7 @@ mosquitto_user: mosquitto mosquitto_group: mosquitto mosquitto_port: 61000 -mosquitto_bind_address: 127.0.0.1 +mosquitto_bind_address: "{{ ansible_default_ipv4.address }}" mosquitto_pid_dir: /var/run mosquitto_base_dir: /etc/mosquitto mosquitto_config_dir: "{{ mosquitto_base_dir }}/conf.d"