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