Add current status
This commit is contained in:
parent
19a9a93c10
commit
36a6276900
3 changed files with 13 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
||||||
|
rspamd:
|
||||||
|
local_configs: {}
|
||||||
|
|
@ -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 }}"
|
||||||
|
|
|
||||||
5
templates/local.d.config.j2
Normal file
5
templates/local.d.config.j2
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{% for element in item.values() %}
|
||||||
|
{% for content in element %}
|
||||||
|
{{ content }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue