From bde75e2741f1a0cb34a61ec1d8dd61427cee1fe5 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 28 Jan 2024 01:23:36 +0300 Subject: [PATCH] Feat(logcheck): Use `remote_src` --- playbooks/roles/logcheck/tasks/main.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/logcheck/tasks/main.yaml b/playbooks/roles/logcheck/tasks/main.yaml index 86534e9..c2d94bb 100644 --- a/playbooks/roles/logcheck/tasks/main.yaml +++ b/playbooks/roles/logcheck/tasks/main.yaml @@ -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 -- 2.39.5