From: Oleg Broytman Date: Tue, 16 Jul 2019 23:59:55 +0000 (+0300) Subject: Refactor(debian/logcheck): Refactor common path X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=8a69c3a9485c1a7da60e653b6c286623a0123ee8;p=ansible.git Refactor(debian/logcheck): Refactor common path --- diff --git a/playbooks/roles/debian/logcheck/tasks/main.yml b/playbooks/roles/debian/logcheck/tasks/main.yml index 1aa03f4..9b2218c 100644 --- a/playbooks/roles/debian/logcheck/tasks/main.yml +++ b/playbooks/roles/debian/logcheck/tasks/main.yml @@ -2,8 +2,8 @@ become: true copy: src: ignore.d/ - dest: "{{ item }}" + dest: "/etc/logcheck/ignore.d.{{ item }}" owner: root group: logcheck mode: 0640 - loop: ['/etc/logcheck/ignore.d.server', '/etc/logcheck/ignore.d.workstation'] + loop: ['server', 'workstation']