From 00893586d3d39eed28f3d6bae2ca77579659712b Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 23 Nov 2021 13:44:03 +0100 Subject: [PATCH] First try to copy backup files. --- semaphore.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/semaphore.yaml b/semaphore.yaml index 2007a98..58a1cf8 100644 --- a/semaphore.yaml +++ b/semaphore.yaml @@ -15,12 +15,6 @@ recurse: false register: backup_dirs - - name: Create logrotate directories - file: - path: "{{ item[0].path }}/{{ item[1] }}" - state: directory - with_nested: - - "{{ backup_dirs.files }}" - - ['daily', 'weekly', 'monthly', 'yearly'] - loop_control: - label: "{{ item[0].path }} {{ item[1] }}" + - name: Copy backup files + debug: var=item + loop: "{{ backup_dirs.files.path }}" \ No newline at end of file