From 7a7816e08468f05474b5cd246a945d82e15fbbfd Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 16 Nov 2019 18:04:51 +0300 Subject: [PATCH] Feat(logcheck): Improve task titles --- playbooks/roles/logcheck/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/roles/logcheck/tasks/main.yml b/playbooks/roles/logcheck/tasks/main.yml index f6a5f2c..db94486 100644 --- a/playbooks/roles/logcheck/tasks/main.yml +++ b/playbooks/roles/logcheck/tasks/main.yml @@ -26,7 +26,7 @@ line: "INTRO=0" insertafter: "^#INTRO=1$" -- name: Configure logcheck - send to root +- name: Configure logcheck - send email to root become: true lineinfile: path: /etc/logcheck/logcheck.conf @@ -34,14 +34,14 @@ line: 'SENDMAILTO="root"' insertafter: '^SENDMAILTO="logcheck"$' -- name: Configure logcheck - not send to logcheck +- name: Configure logcheck - do not send email to logcheck become: true lineinfile: path: /etc/logcheck/logcheck.conf regexp: '^SENDMAILTO="logcheck"$' state: absent -- name: Update logcheck ignore patterns +- name: Update logcheck ignore files become: true copy: src: ignore.d/ -- 2.39.5