From 73fb4b9f5a9aeade0eae00514a94fd92bdaf437e Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 3 Oct 2019 16:57:26 +0800 Subject: security: Discard stderr output of pfctl --- roles/security/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/security/tasks/main.yml b/roles/security/tasks/main.yml index e72a79d..14f7ba4 100644 --- a/roles/security/tasks/main.yml +++ b/roles/security/tasks/main.yml @@ -27,4 +27,4 @@ user: root minute: "0" hour: "*/2" # every 2 hours - job: "pfctl -t bruteforce -T expire 86400 >/dev/null" + job: "pfctl -t bruteforce -T expire 86400 >/dev/null 2>&1" -- cgit v1.2.2