This tasks file was removed when we rewrote the gitea management into
python. Unfortunately our gitea rename project tasks rely on this tasks
file to create new orgs if they are needed to rename a project.
Restore this file so that we can rename projects in this manner. Note we
move it into playbooks/ and rename it to gitea-rename-setup-org.yaml to
make it clear that the gitea management role doesn't use this set of
tasks, only the gitea project rename playbook does.
Change-Id: I782f6e56cad18bdcbf9504d51af15caa950a5752
The org creation task list requires a list of the existing orgs.
Copy that from the gitea creation playbook.
Change-Id: Ia21f6211004f8dde3cacf4fb549ea8418a6d2888
These fixes were either missed by the omnibus or introduced by new
changes since the big opendev migration.
Change-Id: I58e2b2c93567b47b161fdbbf143ff58738a577b8
During the great opendev git migration we ran into a number of issues
with out existing renaming playbook. This attempts to capture the lot of
them and includes:
- Fixing mysql configuration file paths
- Set mysql defaults file arg before database name
- Use storyboard group instead of hostname
- Run storyboard db update against storyboard-dev too
- Create the new org dirs on review.opendev.org before moving repos
- Create new orgs in gitea before moving repos
- Use https when talking to gitea instead of http (to avoid problems
with redirects)
Details at our etherpad here:
https://etherpad.openstack.org/p/the-great-opendev-git-migration
Change-Id: I5f8ed779b3f1186c2ec540730f6b4f5f51a5016c