xoxys.mosquitto/templates/etc/mosquitto/aclfile.j2
2018-11-07 22:11:13 +01:00

12 lines
280 B
Django/Jinja

# {{ ansible_managed }}
{% for dict in mosquitto_acl %}
{% for item in dict.values() %}
{% if not item.user == "all" %}
{{ item.user }}
{% endif %}
{{ item.acl_base if item.acl_base is defined else 'topic' }} {{ item.acl_policy }} {{ item.acl_topic }}
{% endfor %}
{% endfor %}