Check iteration over logrotate.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
register: backup_dirs
|
||||
|
||||
- name: Create logrotate directories
|
||||
debug: var=item
|
||||
debug: msg="{{ item[0].path }}/{{ item[1] }}"
|
||||
# file:
|
||||
# path: "{{ local_backup }}/{{ item }}"
|
||||
# state: directory
|
||||
|
||||
Reference in New Issue
Block a user