From 098a2a1ce50afdfa3f5ae66c275ea53c02534f62 Mon Sep 17 00:00:00 2001 From: Akos Balla Date: Tue, 27 Aug 2024 16:23:02 +0200 Subject: [PATCH] let it be prettier --- tasks/mail/postfix.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/mail/postfix.yml b/tasks/mail/postfix.yml index dd720ec..074f806 100644 --- a/tasks/mail/postfix.yml +++ b/tasks/mail/postfix.yml @@ -124,7 +124,7 @@ - key: smtpd_milters value: inet:127.0.0.1:8891,inet:127.0.0.1:8893,unix:/run/spamass-milter/spamass-milter.sock - key: non_smtpd_milters - value: '$smtpd_milters' + value: "$smtpd_milters" - key: smtpd_sender_restrictions value: > permit_mynetworks @@ -195,7 +195,7 @@ - name: Create HELO access whitelist ansible.builtin.lineinfile: regexp: "\b{{ item.key }}\b" - line: '{{ item.key }} {{ item.value }}' + line: "{{ item.key }} {{ item.value }}" path: /etc/postfix/helo_access mode: u=rw,og=r owner: root @@ -215,7 +215,7 @@ - name: Create RBL whitelist ansible.builtin.lineinfile: regexp: "\b{{ item.key }}\b" - line: '{{ item.key }} {{ item.value }}' + line: "{{ item.key }} {{ item.value }}" path: /etc/postfix/rbl_override mode: u=rw,og=r owner: root @@ -231,7 +231,7 @@ changed_when: generate_rbl_override.rc == 0 - name: Set Postgrey whitelist ansible.builtin.lineinfile: - line: '{{ item }}' + line: "{{ item }}" path: /etc/postfix/postgrey_whitelist_clients mode: u=rw,og=r owner: root @@ -243,7 +243,7 @@ notify: Restart postgrey - name: Set POSTGREY_DELAY to 1 ansible.builtin.lineinfile: - regex: '^POSTGREY_DELAY=' + regex: "^POSTGREY_DELAY=" line: 'POSTGREY_DELAY="--delay=1"' path: /etc/sysconfig/postgrey mode: u=rw,og=r