From 33d788fcda8da771bf8d0a8d9c01a23b030d2ad5 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 5 Jan 2019 15:53:04 +0000 Subject: [PATCH] Create local output dirs locally We don't want to create local dirs on the remote host, we want to create them on the executor. Change-Id: I726473420a42519b0dc5db820c81ac2ec39d15cc --- roles/fetch-output/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/fetch-output/tasks/main.yaml b/roles/fetch-output/tasks/main.yaml index 37ba8f884..b827a656d 100644 --- a/roles/fetch-output/tasks/main.yaml +++ b/roles/fetch-output/tasks/main.yaml @@ -9,6 +9,7 @@ when: log_path is not defined - name: Ensure local output dirs + delegate_to: localhost file: path: "{{ item }}" state: directory