fix acl template
This commit is contained in:
parent
a8ebe08da9
commit
dcdcac728a
@ -1,8 +1,8 @@
|
|||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
{% for item in mosquitto_acl.values() %}
|
{% for acl in mosquitto_acl %}
|
||||||
{% if not item.user == "all" %}
|
{% if not acl.user == "all" %}
|
||||||
{{ item.user }}
|
{{ acl.user }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ item.acl_base if item.acl_base is defined else 'topic' }} {{ item.acl_policy }} {{ item.acl_topic }}
|
{{ acl.acl_base if acl.acl_base is defined else 'topic' }} {{ acl.acl_policy }} {{ acl.acl_topic }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user