From 76dc3d8e0955056f6ee39363f2a975f3fda8be08 Mon Sep 17 00:00:00 2001
From: Monty Taylor <mordred@inaugust.com>
Date: Tue, 26 Sep 2017 16:32:07 -0500
Subject: [PATCH] chmod the files on the executor

Change-Id: I86f95c59cdd184bfd65e974c15ec93dc9eb93309
---
 roles/upload-logs/tasks/main.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/upload-logs/tasks/main.yaml b/roles/upload-logs/tasks/main.yaml
index 40e998da2..d5df5b8fc 100644
--- a/roles/upload-logs/tasks/main.yaml
+++ b/roles/upload-logs/tasks/main.yaml
@@ -9,6 +9,7 @@
     mode: 0775
 
 - name: Ensure logs are readable before uploading
+  delegate_to: localhost
   file:
     path: "{{ zuul.executor.log_root }}/"
     mode: u=rwX,g=rX,o=rX