e79e3a2f04
This server is no longer in production, so remove the various references to it. Change-Id: I2cdd8052c48713e9ba648be20ccad5069d5fe40e
24 lines
532 B
YAML
24 lines
532 B
YAML
- hosts: review-test.opendev.org
|
|
tasks:
|
|
|
|
- name: Stop gerrit
|
|
shell:
|
|
cmd: docker-compose down
|
|
chdir: /etc/gerrit-compose
|
|
|
|
- hosts: review02.opendev.org
|
|
tasks:
|
|
|
|
- name: Sync the git repos
|
|
shell:
|
|
cmd: rsync -avz --delete index cache git gerrit2@review-test.opendev.org:/home/gerrit2/review_site
|
|
chdir: /home/gerrit2/review_site
|
|
|
|
- hosts: review-test.opendev.org
|
|
tasks:
|
|
|
|
- name: Start gerrit
|
|
shell:
|
|
cmd: docker-compose up -d
|
|
chdir: /etc/gerrit-compose
|