fix dict handling
This commit is contained in:
parent
f20983659a
commit
da82193ac9
@ -17,5 +17,5 @@
|
|||||||
|
|
||||||
- name: Add users to password file
|
- name: Add users to password file
|
||||||
shell: "mosquitto_passwd -b {{ mosquitto_password_auth_file }} {{ item.name }} {{ item.value.password }}"
|
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
|
notify: __mosquitto_restart
|
||||||
|
Loading…
Reference in New Issue
Block a user