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

11 lines
283 B
Plaintext
Raw Normal View History

2019-08-27 08:51:37 +02:00
{{ ansible_managed | comment }}
{% for item in mosquitto_acl %}
{% if not item.name == "all" %}
user {{ item.name }}
2018-11-07 20:44:06 +01:00
{% endif %}
2019-08-27 08:51:37 +02: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 20:44:06 +01:00
{% endfor %}
2018-11-07 22:11:13 +01:00
{% endfor %}