]> git.phdru.name Git - ansible.git/commitdiff
Feat(logcheck): Use `remote_src`
authorOleg Broytman <phd@phdru.name>
Sat, 27 Jan 2024 22:23:36 +0000 (01:23 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 27 Jan 2024 22:49:00 +0000 (01:49 +0300)
playbooks/roles/logcheck/tasks/main.yaml

index 86534e9aacd7f9ab6858ea567320a1268f0cf5b4..c2d94bb55f94e367ae274cb28a1af5ba22c8e61a 100644 (file)
@@ -42,7 +42,8 @@
 - name: Update logcheck ignore files
   become: true
   copy:
-    src: ignore.d/
+    src: "{{ ansible_facts.user_dir }}/admin/ansible/playbooks/roles/logcheck/files/ignore.d/"
+    remote_src: true
     dest: "/etc/logcheck/ignore.d.{{ item }}"
     owner: root
     group: logcheck