]> git.phdru.name Git - ansible.git/commitdiff
Refactor(debian/logcheck): Refactor common path
authorOleg Broytman <phd@phdru.name>
Tue, 16 Jul 2019 23:59:55 +0000 (02:59 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 17 Jul 2019 00:18:34 +0000 (03:18 +0300)
playbooks/roles/debian/logcheck/tasks/main.yml

index 1aa03f4014946f052ad12fea3f771f5bc3b4ba57..9b2218c09808c61c8ebcb6f817be72045bf5054c 100644 (file)
@@ -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']