Put gitea06 back in the rotation

This server was replaced and has had its db restored from backup on
gitea01, repo dirs recreated via gitea admin ui function, and gerrit has
replicated all repo content to this server.

Put this back into the rotation in haproxy as well as the ansible
management of gitea git repos.

Change-Id: I424d0db0adf0787d5d46e264b6552d79b48f27ef
This commit is contained in:
Clark Boylan 2019-06-26 16:36:57 -07:00
parent 3734f000f9
commit 6baa9dca5c
2 changed files with 5 additions and 3 deletions

View File

@ -13,6 +13,8 @@ haproxy_listeners:
address: '38.108.68.115:3080'
- name: 'gitea05.opendev.org'
address: '38.108.68.55:3080'
- name: 'gitea06.opendev.org'
address: '38.108.68.250:3080'
- name: 'gitea07.opendev.org'
address: '38.108.68.86:3080'
- name: 'gitea08.opendev.org'
@ -31,6 +33,8 @@ haproxy_listeners:
address: '38.108.68.115:3000'
- name: 'gitea05.opendev.org'
address: '38.108.68.55:3000'
- name: 'gitea06.opendev.org'
address: '38.108.68.250:3000'
- name: 'gitea07.opendev.org'
address: '38.108.68.86:3000'
- name: 'gitea08.opendev.org'

View File

@ -22,9 +22,7 @@
force: yes
register: gitinfo
# We exclude gitea06 because we want to recover its database from a sibgling
# node in order to preserve the redirects.
- hosts: "gitea:!gitea06.opendev.org:!disabled"
- hosts: "gitea:!disabled"
name: "Create repos on gitea servers"
strategy: free
max_fail_percentage: 1