From 3bb250084a64d1662c133645dd9860787044e369 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 3 Dec 2019 20:14:07 -0600 Subject: [PATCH] Fix formatting error --- roles/rsyslog/tasks/archival.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/rsyslog/tasks/archival.yaml b/roles/rsyslog/tasks/archival.yaml index d7e24a5..d786bbf 100644 --- a/roles/rsyslog/tasks/archival.yaml +++ b/roles/rsyslog/tasks/archival.yaml @@ -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: