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