aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-10-03 16:57:26 +0800
committerAaron LI <aly@aaronly.me>2019-10-03 16:57:26 +0800
commit73fb4b9f5a9aeade0eae00514a94fd92bdaf437e (patch)
tree2ea7cf3772e65ad25e36c6d0207feef998443cd7
parentdd30bd4252b0f199d2c55df861ea95a1acaf0403 (diff)
downloadansible-dfly-vps-73fb4b9f5a9aeade0eae00514a94fd92bdaf437e.tar.bz2
security: Discard stderr output of pfctl
-rw-r--r--roles/security/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
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"