summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-11-19 19:48:05 +0000
committerGerrit Code Review <review@openstack.org>2018-11-19 19:48:05 +0000
commitbd26195f1520faf1256b1308b47d9e0ecc4e9886 (patch)
tree166f399c0ca166eb25750ace568164c0ef57088c
parentdd3f9fe00b625ef905b2ab2de8a68e6342028c11 (diff)
parent34cfe44ca5c63c354339aa502052d9054a36bf60 (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..1916124 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 }}:{{ 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 }}"