Correction of subdirectory check.

This commit is contained in:
2021-11-18 05:54:25 +01:00
parent 5351bd8ae3
commit 064f994a82

View File

@@ -60,7 +60,7 @@
- name: Check logrotate directories - name: Check logrotate directories
stat: stat:
path: "{{ backup_dir }}/{{ item }}" path: "{{ backup_dir }}/{{ item[0] }}/{{ item[1] }}"
register: subdirs register: subdirs
with_nested: with_nested:
- ['bookstack', 'kimai', 'semaphore', 'gitea', 'nextcloud'] - ['bookstack', 'kimai', 'semaphore', 'gitea', 'nextcloud']