2018-11-07 19:44:06 +00:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
2018-11-07 21:11:13 +00:00
|
|
|
{% for dict in mosquitto_acl %}
|
|
|
|
{% for item in dict.values() %}
|
2018-11-07 21:00:41 +00:00
|
|
|
{% if not item.user == "all" %}
|
2018-11-08 20:33:27 +00:00
|
|
|
user {{ item.user }}
|
2018-11-07 19:44:06 +00:00
|
|
|
{% endif %}
|
2018-11-07 21:00:41 +00:00
|
|
|
{{ item.acl_base if item.acl_base is defined else 'topic' }} {{ item.acl_policy }} {{ item.acl_topic }}
|
2018-11-07 19:44:06 +00:00
|
|
|
{% endfor %}
|
2018-11-07 21:11:13 +00:00
|
|
|
|
|
|
|
{% endfor %}
|