From: Oleg Broytman Date: Sat, 16 Nov 2019 15:04:51 +0000 (+0300) Subject: Feat(logcheck): Improve task titles X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=7a7816e08468f05474b5cd246a945d82e15fbbfd;p=ansible.git Feat(logcheck): Improve task titles --- 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/