system-config/playbooks/sync-to-review-test.yaml
Ian Wienand e79e3a2f04 Remove review01 references
This server is no longer in production, so remove the various
references to it.

Change-Id: I2cdd8052c48713e9ba648be20ccad5069d5fe40e
2021-07-20 11:57:10 +10:00

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