line: "INTRO=0"
insertafter: "^#INTRO=1$"
-- name: Update logcheck ignore patterns
+- name: Configure logcheck - send email to root
+ become: true
+ lineinfile:
+ path: /etc/aliases
+ line: 'logcheck: root'
+
+- name: Update logcheck ignore files
become: true
copy:
src: ignore.d/