logrotate: fix removal of old config files

The path was missing the right prefix

Change-Id: I217fb0799603fb954575df8f6108cae6c4d47c01
This commit is contained in:
Dr. Jens Harbott 2023-07-10 20:36:59 +02:00
parent 1e2ea795c2
commit 3cb97da403

View File

@ -27,7 +27,7 @@
- name: Clear out potentially confusing config files
file:
state: absent
path: '{{ _old_logrotate_generated_config_file_name }}'
path: '/etc/logrotate.d/{{ _old_logrotate_generated_config_file_name }}'
- name: 'Install {{ logrotate_file_name }} rotatation config file'
template: