Merge "mirror-workspace-git: use port when pushing git repo through ssh"

This commit is contained in:
Zuul 2018-11-19 19:48:05 +00:00 committed by Gerrit Code Review
commit bd26195f15
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_user_dir }}/{{ item.value.src_dir}}"
command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host }}:{{ ansible_port }}/{{ ansible_user_dir }}/{{ item.value.src_dir}}"
args:
chdir: "{{ zuul.executor.work_root }}/{{ item.value.src_dir }}"
with_dict: "{{ zuul.projects }}"