Remove whitespace from use-cached-repos role
Change-Id: I9229feedb87c4ba9352c876ac2f4e63b97c76817
This commit is contained in:
parent
82686d28a5
commit
696dbb5fae
|
@ -9,18 +9,18 @@
|
|||
creates: "{{ ansible_user_dir }}/{{ item.0.src_dir}}"
|
||||
when: item.1.stat.exists
|
||||
with_together:
|
||||
- " {{ zuul.projects }}"
|
||||
- " {{ cached_repos }}"
|
||||
- "{{ zuul.projects }}"
|
||||
- "{{ cached_repos }}"
|
||||
|
||||
- name: Clone upstream repo to workspace
|
||||
command: "git clone https://{{ item.0.canonical_hostname }}/{{ item.0.name}} {{ ansible_user_dir }}/{{ item.0.src_dir}}"
|
||||
creates: "{{ ansible_user_dir }}/{{ item.0.src_dir}}"
|
||||
when: not item.1.stat.exists
|
||||
with_together:
|
||||
- " {{ zuul.projects }}"
|
||||
- " {{ cached_repos }}"
|
||||
- "{{ zuul.projects }}"
|
||||
- "{{ cached_repos }}"
|
||||
|
||||
- name: Remove origin from local git repos
|
||||
command: "git remote rm origin"
|
||||
chdir: "{{ ansible_user_dir }}/{{ item.src_dir}}"
|
||||
with_items: " {{ zuul.projects }}"
|
||||
with_items: "{{ zuul.projects }}"
|
||||
|
|
Loading…
Reference in New Issue