logrotate: fix removal of old config files
The path was missing the right prefix Change-Id: I217fb0799603fb954575df8f6108cae6c4d47c01
This commit is contained in:
parent
1e2ea795c2
commit
3cb97da403
@ -27,7 +27,7 @@
|
|||||||
- name: Clear out potentially confusing config files
|
- name: Clear out potentially confusing config files
|
||||||
file:
|
file:
|
||||||
state: absent
|
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'
|
- name: 'Install {{ logrotate_file_name }} rotatation config file'
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user