From 8a69c3a9485c1a7da60e653b6c286623a0123ee8 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 17 Jul 2019 02:59:55 +0300 Subject: [PATCH] Refactor(debian/logcheck): Refactor common path --- playbooks/roles/debian/logcheck/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'] -- 2.39.5