From 5d751bab1293caf52e07f973bb9f2b7eca66d239 Mon Sep 17 00:00:00 2001 From: David Moreau Simard Date: Thu, 30 Nov 2017 10:29:34 -0500 Subject: [PATCH] mirror-workspace-git-repos: Pass a dict, not a list containing a dict This was a regression introduced in the commit b1b2537de78ec80dc970001bf5aa0b61cfa93ccb Change-Id: Ib5ed93491631f22472a3eb4913d29d20a78592cd --- roles/mirror-workspace-git-repos/tasks/main.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/mirror-workspace-git-repos/tasks/main.yaml b/roles/mirror-workspace-git-repos/tasks/main.yaml index 35dae6606..f513e5965 100644 --- a/roles/mirror-workspace-git-repos/tasks/main.yaml +++ b/roles/mirror-workspace-git-repos/tasks/main.yaml @@ -46,8 +46,7 @@ git checkout {{ project_heads[item.key] }} args: chdir: "{{ ansible_user_dir }}/{{ item.value.src_dir }}" - with_dict: - - "{{ zuul._projects }}" + with_dict: "{{ zuul._projects }}" # ANSIBLE0006: Skip linting since it triggers on the "git" command, # but we prefer the shell above tags: