summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-11-20 17:26:53 +0000
committerGerrit Code Review <review@openstack.org>2018-11-20 17:26:53 +0000
commit89e386449db5bf96d2a3ffb190a9fc1fea65f248 (patch)
treed635c0603204c12bf886c1f86ed7f5ead6185fc4
parent879c37e62ced30197cff4655bef2006e9c60a163 (diff)
parent719f214db721a212273ddfb6c53c3134a8905fb6 (diff)
Merge "mirror-workspace-git: use port when pushing git repo through ssh"
-rw-r--r--roles/mirror-workspace-git-repos/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/mirror-workspace-git-repos/tasks/main.yaml b/roles/mirror-workspace-git-repos/tasks/main.yaml
index 2c9f191..c3baae7 100644
--- a/roles/mirror-workspace-git-repos/tasks/main.yaml
+++ b/roles/mirror-workspace-git-repos/tasks/main.yaml
@@ -7,7 +7,7 @@
7 with_dict: "{{ zuul.projects }}" 7 with_dict: "{{ zuul.projects }}"
8 8
9- name: Synchronize src repos to workspace directory 9- name: Synchronize src repos to workspace directory
10 command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host }}/{{ ansible_user_dir }}/{{ item.value.src_dir}}" 10 command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host | ipwrap }}:{{ ansible_port }}/{{ ansible_user_dir }}/{{ item.value.src_dir}}"
11 args: 11 args:
12 chdir: "{{ zuul.executor.work_root }}/{{ item.value.src_dir }}" 12 chdir: "{{ zuul.executor.work_root }}/{{ item.value.src_dir }}"
13 with_dict: "{{ zuul.projects }}" 13 with_dict: "{{ zuul.projects }}"