Use database variable for logrotate.
This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
path: "{{ backup_dir }}/{{ item[0] }}/{{ item[1] }}"
|
path: "{{ backup_dir }}/{{ item[0] }}/{{ item[1] }}"
|
||||||
register: subdirs
|
register: subdirs
|
||||||
with_nested:
|
with_nested:
|
||||||
- ['bookstack', 'kimai', 'semaphore', 'gitea', 'nextcloud']
|
- "{{ databases }}"
|
||||||
- ['daily', 'weekly', 'monthly', 'yearly']
|
- ['daily', 'weekly', 'monthly', 'yearly']
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item[0] }} {{ item[1] }}"
|
label: "{{ item[0] }} {{ item[1] }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user