Add relayclient ip to rspamd's local_addr

This commit is contained in:
Tunui Franken 2025-01-24 21:46:26 +01:00
parent f7132eae93
commit 8900d883c6
2 changed files with 13 additions and 0 deletions

View file

@ -46,3 +46,13 @@
group: root
mode: "644"
notify: Reload rspamd service
- name: Copy local options.inc config
become: true
ansible.builtin.template:
src: options.inc.j2
dest: /etc/rspamd/local.d/options.inc
owner: root
group: root
mode: "644"
notify: Reload rspamd service

View file

@ -0,0 +1,3 @@
# {{ ansible_managed }}
local_addrs = [{{ hostvars[relayclient].ipv4_addr }}/32]