From 64da87d2254417924c28931f43d07c2379aea6d8 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 30 Aug 2017 13:07:19 -0700 Subject: [PATCH] Zuulv3: fix reference to stat results in use-cached-repos Change-Id: I2fda509eda5012075e2092ab8511625741f604ed --- roles/use-cached-repos/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/use-cached-repos/tasks/main.yaml b/roles/use-cached-repos/tasks/main.yaml index ee7130c99a..b5db378da9 100644 --- a/roles/use-cached-repos/tasks/main.yaml +++ b/roles/use-cached-repos/tasks/main.yaml @@ -11,7 +11,7 @@ when: item.1.stat.exists with_together: - "{{ zuul.projects }}" - - "{{ cached_repos }}" + - "{{ cached_repos.results }}" - name: Clone upstream repo to workspace command: "git clone https://{{ item.0.canonical_hostname }}/{{ item.0.name}} {{ ansible_user_dir }}/{{ item.0.src_dir}}" @@ -20,7 +20,7 @@ when: not item.1.stat.exists with_together: - "{{ zuul.projects }}" - - "{{ cached_repos }}" + - "{{ cached_repos.results }}" - name: Remove origin from local git repos command: "git remote rm origin"