Fix formatting error

This commit is contained in:
Ryan Cavicchioni 2019-12-03 20:14:07 -06:00
parent ccdf6fab93
commit 3bb250084a
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -12,12 +12,12 @@
when: rsyslog_archival_format_enabled
register: default_log_files
- name: delete files
file:
path: "{{ item.path }}"
state: "{{ rsyslog_archival_format_enabled | ternary('absent', 'file') }}"
when: rsyslog_archival_format_enabled
with_items: "{{ default_log_files.files }}"
- name: delete files
file:
path: "{{ item.path }}"
state: "{{ rsyslog_archival_format_enabled | ternary('absent', 'file') }}"
when: rsyslog_archival_format_enabled
with_items: "{{ default_log_files.files }}"
- name: delete logrotate configuration
file: