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