Don't run the review clone on connection local
connection: local is set on the first play. That means it's using the local connection to try to clone on review - which just means a second clone on bridge. Change-Id: I11ff748617b405448697012759e2dab0314f6857
This commit is contained in:
parent
70e2828ce4
commit
eee201edd3
@ -1,6 +1,6 @@
|
||||
# Run on localhost for lookup plugins, on review/review-dev
|
||||
# because manage-projects runs remotely.
|
||||
- hosts: "localhost:review:review-dev:!disabled"
|
||||
- hosts: "localhost:!disabled"
|
||||
name: "Clone project-config for projects list"
|
||||
strategy: free
|
||||
connection: local
|
||||
@ -21,6 +21,11 @@
|
||||
- hosts: "review:review-dev:!disabled"
|
||||
name: "Create repos on gerrit servers"
|
||||
tasks:
|
||||
- name: Clone project-config repo
|
||||
git:
|
||||
repo: https://opendev.org/openstack/project-config
|
||||
dest: /opt/project-config
|
||||
force: yes
|
||||
- name: Run manage-projects
|
||||
include_role:
|
||||
name: gerrit
|
||||
|
Loading…
x
Reference in New Issue
Block a user