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