]> git.phdru.name Git - ansible.git/commitdiff
Fix(logcheck): Run `rsync -r`
authorOleg Broytman <phd@phdru.name>
Thu, 1 Jan 2026 00:52:11 +0000 (03:52 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 1 Jan 2026 00:52:11 +0000 (03:52 +0300)
playbooks/roles/logcheck/tasks/main.yaml

index a7eed965715ecf352cda4debd781192ef2223fc0..4f883d6131947034ce58888900de2ddea9429403 100644 (file)
@@ -45,7 +45,7 @@
     src: "{{ ansible_facts.user_dir }}/admin/ansible/playbooks/roles/logcheck/files/ignore.d/"
     dest: "/etc/logcheck/ignore.d.{{ item }}"
     archive: no  # avoid setting owner/group
-    recursive: no
+    recursive: yes
     delete: no
     times: yes
     rsync_opts: ['--chown=root:logcheck', '--chmod=u=rw,g=r,o=']