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:
Clark Boylan 2018-11-19 14:05:47 -08:00
parent 73a0b0e683
commit f6de96597f
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}"