]> git.phdru.name Git - ansible.git/commitdiff
Fix(SpamAssassin): Fix path to defaults
authorOleg Broytman <phd@phdru.name>
Wed, 11 Feb 2026 01:45:05 +0000 (04:45 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 11 Feb 2026 01:45:05 +0000 (04:45 +0300)
This is config for `spamd`.

playbooks/roles/debian/email/tasks/main.yaml

index 0de7b8739761d41d53a846c69d10ce90bac80cdb..baae9fb78b70776d4a19a69ace4ae71456431757 100644 (file)
@@ -7,10 +7,10 @@
     state: latest
     update_cache: yes
 
-- name: Configure /etc/default/spamassassin
+- name: Configure /etc/default/spamd
   become: true
   replace:
-    path: /etc/default/spamassassin
+    path: /etc/default/spamd
     regexp: '^OPTIONS="--create-prefs --max-children 5 --helper-home-dir"$'
     replace: 'OPTIONS="--create-prefs --max-children 5 --helper-home-dir --socketpath=/tmp/spamassassin.sock"'
   notify: Restart spamassassin