Zuulv3: fix reference to stat results in use-cached-repos
Change-Id: I2fda509eda5012075e2092ab8511625741f604ed
This commit is contained in:
parent
896af6639f
commit
64da87d225
@ -11,7 +11,7 @@
|
|||||||
when: item.1.stat.exists
|
when: item.1.stat.exists
|
||||||
with_together:
|
with_together:
|
||||||
- "{{ zuul.projects }}"
|
- "{{ zuul.projects }}"
|
||||||
- "{{ cached_repos }}"
|
- "{{ cached_repos.results }}"
|
||||||
|
|
||||||
- name: Clone upstream repo to workspace
|
- name: Clone upstream repo to workspace
|
||||||
command: "git clone https://{{ item.0.canonical_hostname }}/{{ item.0.name}} {{ ansible_user_dir }}/{{ item.0.src_dir}}"
|
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
|
when: not item.1.stat.exists
|
||||||
with_together:
|
with_together:
|
||||||
- "{{ zuul.projects }}"
|
- "{{ zuul.projects }}"
|
||||||
- "{{ cached_repos }}"
|
- "{{ cached_repos.results }}"
|
||||||
|
|
||||||
- name: Remove origin from local git repos
|
- name: Remove origin from local git repos
|
||||||
command: "git remote rm origin"
|
command: "git remote rm origin"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user