Add online reindex tasks to project rename playbook

At the end, we have online reindex tasks we need to perform. Add them to
the playbook.

Change-Id: I4564facd617975b9bcb9df3a22eb2da8c77847c5
This commit is contained in:
Monty Taylor 2018-03-23 12:04:10 -05:00
parent 11d70a1398
commit 3cfeaadbd8
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -85,5 +85,8 @@
shell: "{{ gerrit_ssh_command }} rename-group {{ item.old }} {{ item.new }}"
with_items: "{{ gerrit_groups|default([]) }}"
# TODO: online reindex accounts
# TODO: online reindex projects
- name: Start online reindex of accounts
shell: "{{ gerrit_ssh_command }} index start accounts --force"
- name: Start online reindex of changes
shell: "{{ gerrit_ssh_command }} index start changes --force"