Check backup variable.
This commit is contained in:
@@ -109,6 +109,8 @@
|
||||
register: oldBackups
|
||||
loop: "{{ databases }}"
|
||||
|
||||
- debug: var=oldBackups
|
||||
|
||||
- name: Delete old daily backups
|
||||
file:
|
||||
path: "{{ item.path }}"
|
||||
|
||||
Reference in New Issue
Block a user