logcompress: ansible does not finde j2-file, so give path explicit

This commit is contained in:
Denis Knauf 2024-09-20 00:39:47 +02:00
parent 5937888ce2
commit 3da14701bd
2 changed files with 2 additions and 4 deletions

View file

@ -57,13 +57,11 @@
- name: install systemd-logcompress-jobs
template:
src: "{{item}}"
dest: /etc/systemd/system
src: logcompress.service.j2
dest: /etc/systemd/system/logcompress.service
owner: root
group: root
mode: 0644
with_fileglob:
- "systemd/system/*"
vars:
command: '{{ logcompress_command | default( logcompress_compression_commands[ logcompress_algo | default( "zstd") ] ) }}'