This commit is contained in:
parent
1d0ac8ba9d
commit
b570e08a74
@ -1,10 +1,10 @@
|
|||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
{% for dict in mosquitto_acl %}
|
{% for key, value in mosquitto_acl.iteritems() %}
|
||||||
{% for item in dict.values() %}
|
{% if not key == "all" %}
|
||||||
{% if not item.user == "all" %}
|
user {{ key }}
|
||||||
user {{ item.user }}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% for item in value %}
|
||||||
{{ item.acl_base if item.acl_base is defined else 'topic' }} {{ item.acl_policy }} {{ item.acl_topic }}
|
{{ item.acl_base if item.acl_base is defined else 'topic' }} {{ item.acl_policy }} {{ item.acl_topic }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user