From da82193ac9817b2d2437878f4382acf750216b6e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 5 Nov 2018 20:28:54 +0100 Subject: [PATCH] fix dict handling --- tasks/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/config.yml b/tasks/config.yml index ac7ef3c..6624f8f 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -17,5 +17,5 @@ - name: Add users to password file shell: "mosquitto_passwd -b {{ mosquitto_password_auth_file }} {{ item.name }} {{ item.value.password }}" - with_dict: "{{ mosquitto_login_users | default(omit) }}" + with_dict: "{{ mosquitto_password_auth_users | default('{}') }}" notify: __mosquitto_restart