Add current status

This commit is contained in:
Morre 2021-01-14 10:49:21 +01:00
parent 19a9a93c10
commit 36a6276900
No known key found for this signature in database
GPG key ID: F36FB77CA7C2E7B2
3 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,2 @@
rspamd:
local_configs: {}

View file

@ -1,2 +1,8 @@
- include: install.yml - include: install.yml
- name: create local.d config files
template:
src: local.d.config.j2
dest: "/etc/rspamd/local.d/{{ item.key }}"
mode: "0440"
loop: "{{ rspamd.local_configs | dict2items }}"

View file

@ -0,0 +1,5 @@
{% for element in item.values() %}
{% for content in element %}
{{ content }}
{% endfor %}
{% endfor %}