]> git.phdru.name Git - ansible.git/blob - playbooks/debian/roles/logcheck/tasks/main.yml
Feat(init-system2): Install and update `logcheck`
[ansible.git] / playbooks / debian / roles / logcheck / tasks / main.yml
1 - name: Install logcheck
2   become: true
3   apt:
4     autoclean: yes
5     autoremove: yes
6     install_recommends: no
7     name: logcheck
8     purge: yes
9     state: latest
10     update_cache: yes
11
12 - name: Update logcheck ignore patterns
13   become: true
14   copy:
15     src: ignore.d/
16     dest: "/etc/logcheck/ignore.d.{{ item }}"
17     owner: root
18     group: logcheck
19     mode: 0640
20   loop: ['server', 'workstation']