From: Oleg Broytman Date: Thu, 1 Jan 2026 00:52:11 +0000 (+0300) Subject: Fix(logcheck): Run `rsync -r` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=6ec29bd93415141e401c375803930bc22c200900;p=ansible.git Fix(logcheck): Run `rsync -r` --- diff --git a/playbooks/roles/logcheck/tasks/main.yaml b/playbooks/roles/logcheck/tasks/main.yaml index a7eed96..4f883d6 100644 --- a/playbooks/roles/logcheck/tasks/main.yaml +++ b/playbooks/roles/logcheck/tasks/main.yaml @@ -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=']