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 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: