From f5a5f23954df4505f46e15d1641e2987fe25f85f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 21 Jun 2022 23:59:41 +0300 Subject: [PATCH] Fix(fetch-push/push): `dest_dir` is always a directory Create a new one if it doesn't exist. --- playbooks/fetch-push/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/fetch-push/push.yml b/playbooks/fetch-push/push.yml index 1965adc..b2ad0e2 100644 --- a/playbooks/fetch-push/push.yml +++ b/playbooks/fetch-push/push.yml @@ -6,7 +6,7 @@ - name: Copy files copy: src: "{{ start_dir }}/{{ inventory_hostname }}/{{ item }}" - dest: "{{ dest_dir }}" + dest: "{{ dest_dir }}/" owner: "{{ owner | default('root') }}" group: "{{ group | default('root') }}" mode: "{{ mode | default('0644') }}" -- 2.39.5