logcompress: ansible does not finde j2-file, so give path explicit
This commit is contained in:
parent
5937888ce2
commit
3da14701bd
|
@ -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") ] ) }}'
|
||||
|
||||
|
|
Loading…
Reference in a new issue