From: Oleg Broytman Date: Tue, 21 Jun 2022 20:59:41 +0000 (+0300) Subject: Fix(fetch-push/push): `dest_dir` is always a directory X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f5a5f23954df4505f46e15d1641e2987fe25f85f;p=ansible.git Fix(fetch-push/push): `dest_dir` is always a directory Create a new one if it doesn't exist. --- 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') }}"