Correction of subdirectory check.
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
|
||||
- name: Check logrotate directories
|
||||
stat:
|
||||
path: "{{ backup_dir }}/{{ item }}"
|
||||
path: "{{ backup_dir }}/{{ item[0] }}/{{ item[1] }}"
|
||||
register: subdirs
|
||||
with_nested:
|
||||
- ['bookstack', 'kimai', 'semaphore', 'gitea', 'nextcloud']
|
||||
|
||||
Reference in New Issue
Block a user