Skip to content

Commit

Permalink
let it be prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
suhancz committed Aug 27, 2024
1 parent a053997 commit 098a2a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tasks/mail/postfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 098a2a1

Please sign in to comment.