Correction of subdirectory check.
This commit is contained in:
@@ -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']
|
||||||
|
|||||||
Reference in New Issue
Block a user