First try to copy backup files.

This commit is contained in:
2021-11-23 13:44:03 +01:00
parent 0f18762b71
commit 00893586d3

View File

@@ -15,12 +15,6 @@
recurse: false recurse: false
register: backup_dirs register: backup_dirs
- name: Create logrotate directories - name: Copy backup files
file: debug: var=item
path: "{{ item[0].path }}/{{ item[1] }}" loop: "{{ backup_dirs.files.path }}"
state: directory
with_nested:
- "{{ backup_dirs.files }}"
- ['daily', 'weekly', 'monthly', 'yearly']
loop_control:
label: "{{ item[0].path }} {{ item[1] }}"