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
|
- name: install systemd-logcompress-jobs
|
||||||
template:
|
template:
|
||||||
src: "{{item}}"
|
src: logcompress.service.j2
|
||||||
dest: /etc/systemd/system
|
dest: /etc/systemd/system/logcompress.service
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
with_fileglob:
|
|
||||||
- "systemd/system/*"
|
|
||||||
vars:
|
vars:
|
||||||
command: '{{ logcompress_command | default( logcompress_compression_commands[ logcompress_algo | default( "zstd") ] ) }}'
|
command: '{{ logcompress_command | default( logcompress_compression_commands[ logcompress_algo | default( "zstd") ] ) }}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue