Revert "mirror-workspace-git: use port when pushing git repo through ssh"
This reverts commit 34cfe44ca5
.
The :port suffix doesn't work if the hostname is an ipv6 ip address as
the hostname needs to be wrapped in []s in that case. Revert this so
that we can fix this in a followup.
Change-Id: I2dfee56d40a4cdd096946a2f67c37117fff74cce
This commit is contained in:
parent
73a0b0e683
commit
f6de96597f
@ -7,7 +7,7 @@
|
||||
with_dict: "{{ zuul.projects }}"
|
||||
|
||||
- name: Synchronize src repos to workspace directory
|
||||
command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host }}:{{ ansible_port }}/{{ ansible_user_dir }}/{{ item.value.src_dir}}"
|
||||
command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host }}/{{ ansible_user_dir }}/{{ item.value.src_dir}}"
|
||||
args:
|
||||
chdir: "{{ zuul.executor.work_root }}/{{ item.value.src_dir }}"
|
||||
with_dict: "{{ zuul.projects }}"
|
||||
|
Loading…
Reference in New Issue
Block a user