Fix formatting error
This commit is contained in:
parent
ccdf6fab93
commit
3bb250084a
@ -12,12 +12,12 @@
|
|||||||
when: rsyslog_archival_format_enabled
|
when: rsyslog_archival_format_enabled
|
||||||
register: default_log_files
|
register: default_log_files
|
||||||
|
|
||||||
- name: delete files
|
- name: delete files
|
||||||
file:
|
file:
|
||||||
path: "{{ item.path }}"
|
path: "{{ item.path }}"
|
||||||
state: "{{ rsyslog_archival_format_enabled | ternary('absent', 'file') }}"
|
state: "{{ rsyslog_archival_format_enabled | ternary('absent', 'file') }}"
|
||||||
when: rsyslog_archival_format_enabled
|
when: rsyslog_archival_format_enabled
|
||||||
with_items: "{{ default_log_files.files }}"
|
with_items: "{{ default_log_files.files }}"
|
||||||
|
|
||||||
- name: delete logrotate configuration
|
- name: delete logrotate configuration
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user