diff --git a/tasks/configure.yml b/tasks/configure.yml index c61f208..391e6a7 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -253,7 +253,7 @@ state: started - name: Ensure blacklist is present - file_line: + lineinfile: path: /etc/postfix/blacklist line: "{{ item }} REJECT Blacklisted" match: "^{{ item }} "