Further working with variables.
This commit is contained in:
@@ -111,7 +111,7 @@
|
|||||||
loop: "{{ databases }}"
|
loop: "{{ databases }}"
|
||||||
|
|
||||||
- name: Delete old daily backups
|
- name: Delete old daily backups
|
||||||
debug: var=item
|
debug: var=item.path
|
||||||
with_items: "{{ oldBackups.results | map(attribute='files') | list }}"
|
with_items: "{{ oldBackups.results | map(attribute='files') | list }}"
|
||||||
|
|
||||||
- name: Find old weekly backups
|
- name: Find old weekly backups
|
||||||
|
|||||||
Reference in New Issue
Block a user