From: Oleg Broytman Date: Sat, 27 Jan 2024 22:23:36 +0000 (+0300) Subject: Feat(logcheck): Use `remote_src` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=bde75e2741f1a0cb34a61ec1d8dd61427cee1fe5;p=ansible.git Feat(logcheck): Use `remote_src` --- 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