diff --git a/tasks/configure.yml b/tasks/configure.yml index 391e6a7..6362625 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -256,7 +256,7 @@ lineinfile: path: /etc/postfix/blacklist line: "{{ item }} REJECT Blacklisted" - match: "^{{ item }} " + regexp: "^{{ item }} " backup: true create: true loop: "{{ postfix_blacklist }}"