From 151139e26d839814d771ee5b547dd82fef76a0c6 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sun, 7 May 2023 20:09:54 +0300 Subject: [PATCH] fix lineinfile --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}"