Use database variable for logrotate.

This commit is contained in:
2021-11-18 06:17:21 +01:00
parent 54700d4df9
commit cac4f4e4c6

View File

@@ -58,7 +58,7 @@
path: "{{ backup_dir }}/{{ item[0] }}/{{ item[1] }}"
register: subdirs
with_nested:
- ['bookstack', 'kimai', 'semaphore', 'gitea', 'nextcloud']
- "{{ databases }}"
- ['daily', 'weekly', 'monthly', 'yearly']
loop_control:
label: "{{ item[0] }} {{ item[1] }}"