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