Change subelements in nested loop.

This commit is contained in:
2021-11-18 05:39:04 +01:00
parent 408a548646
commit bf23249606

View File

@@ -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 }}"