Change subelements in nested loop.
This commit is contained in:
@@ -60,5 +60,5 @@
|
||||
|
||||
- name: Check logrotate directories
|
||||
debug: var=item
|
||||
loop: "{{ dirs.results |sub(['daily', 'weekly', 'monthly', 'yearly'])|list }}"
|
||||
loop: "{{ dirs.results |['daily', 'weekly', 'monthly', 'yearly']|list }}"
|
||||
|
||||
Reference in New Issue
Block a user