xoxys.mosquitto/templates/etc/mosquitto/aclfile.j2

11 lines
283 B
Plaintext
Raw Normal View History

2019-08-27 06:51:37 +00:00
{{ ansible_managed | comment }}
{% for item in mosquitto_acl %}
{% if not item.name == "all" %}
user {{ item.name }}
2018-11-07 19:44:06 +00:00
{% endif %}
2019-08-27 06:51:37 +00:00
{% for acl in item.acls %}
{{ acl.acl_base if acl.acl_base is defined else 'topic' }} {{ acl.acl_policy }} {{ acl.acl_topic }}
2018-11-07 19:44:06 +00:00
{% endfor %}
2018-11-07 21:11:13 +00:00
{% endfor %}