Create the logrotate directories.
This commit is contained in:
@@ -42,7 +42,9 @@
|
||||
register: backup_dirs
|
||||
|
||||
- name: Check logrotate directories
|
||||
debug: msg="{{ item[0].path }}/{{ item[1] }}"
|
||||
file:
|
||||
path: "{{ item[0].path }}/{{ item[1] }}"
|
||||
file_type: directory
|
||||
with_nested:
|
||||
- "{{ backup_dirs.files }}"
|
||||
- ['daily', 'weekly', 'monthly', 'yearly']
|
||||
|
||||
Reference in New Issue
Block a user