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

12 lines
280 B
Plaintext
Raw Normal View History

2018-11-07 19:44:06 +00:00
# {{ ansible_managed }}
2018-11-07 21:11:13 +00:00
{% for dict in mosquitto_acl %}
{% for item in dict.values() %}
2018-11-07 21:00:41 +00:00
{% if not item.user == "all" %}
{{ item.user }}
2018-11-07 19:44:06 +00:00
{% endif %}
2018-11-07 21:00:41 +00:00
{{ item.acl_base if item.acl_base is defined else 'topic' }} {{ item.acl_policy }} {{ item.acl_topic }}
2018-11-07 19:44:06 +00:00
{% endfor %}
2018-11-07 21:11:13 +00:00
{% endfor %}