diff --git a/semaphore.yaml b/semaphore.yaml index 9a2dd72..a299674 100644 --- a/semaphore.yaml +++ b/semaphore.yaml @@ -44,7 +44,7 @@ - name: Check logrotate directories file: path: "{{ item[0].path }}/{{ item[1] }}" - file_type: directory + state: directory with_nested: - "{{ backup_dirs.files }}" - ['daily', 'weekly', 'monthly', 'yearly']